Browse Search Popular Register Upload Rules User list Login:
Search:
Why doesnt this work

Image:
screenshot of the scene

Author: AverageCoder

Group: Default

Filesize: 31.59 kB

Date added: 2023-11-05

Rating: 5

Downloads: 1901

Views: 390

Comments: 5

Ratings: 1

Times favored: 0

Made with: Algodoo v2.1.3

Tags:

Scene tag

I am making a rope script that will let an object swing on another object, the problem here is that the hinges cant find the geometry that created it. When you press enter, the script will activate (shift to reload) and in the console you will see "ERROR - Couldn't find geom with ID #24798" even when it does exist, pls help me find out whats wrong, the script is in the green block that has "v2" on it.
Please log in to rate this scene
edit
Similar scenes
Title: Filter Lens, Doesnt Work yet.
Rating: 5
Filesize: 34.37 kB
Downloads: 534
Comments: 1
Ratings: 1
Date added: 2009/09/06 14:02:11
Made with: Algodoo before v1.8.5
Rating: rated 5
download
Title: Bull Ball
Rating: 5.375
Filesize: 30.08 kB
Downloads: 1199
Comments: 2
Ratings: 2
Date added: 2009/10/26 04:33:38
Made with: Algodoo before v1.8.5
Rating: rated 5.4
download
Title: Panther Tank Need Help - Read Description
Rating: 5
Filesize: 104.76 kB
Downloads: 724
Comments: 2
Ratings: 1
Date added: 2012/04/17 17:33:00
Made with: Algodoo v2.0.1
Rating: rated 5
download
Title: -BETA- Semi Automatic Pistol
Rating: 5
Filesize: 42.51 kB
Downloads: 675
Comments: 0
Ratings: 1
Date added: 2010/05/16 09:35:43
Made with: Phun
Rating: rated 5
download
Title: Thyme-Powered cars (pretty basic)
Rating: 4.5
Filesize: 48.88 kB
Downloads: 597
Comments: 4
Ratings: 2
Date added: 2009/06/06 04:09:51
Made with: Phun
Rating: rated 4.5
download
Title: Horrible Tank Modle
Rating: 5
Filesize: 333.76 kB
Downloads: 393
Comments: 0
Ratings: 1
Date added: 2020/07/06 15:45:54
Made with: Algodoo v2.1.0
Rating: rated 5
download
its because you cannot set geomID of a newly created element

try this:

thing := <scene add something>
g := thing.geomID
I don't understand, my problem is that the blue start hinge does not connect to the "v2" block
I don't think you can use script to add a hinge to an existing object. You need to create the object(s) that you are connecting the hinge to.
why does a laser point in my mouse pointers general direction?
also i just moved the hinge back to the place and it was connected to the "V2" block