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: 1924

Views: 399

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: White Box
Rating: 5
Filesize: 46.45 kB
Downloads: 254
Comments: 0
Ratings: 1
Date added: 2015/01/06 23:29:57
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: Color Infection Fail
Rating: 5
Filesize: 33.19 kB
Downloads: 468
Comments: 0
Ratings: 1
Date added: 2010/02/13 19:05:56
Made with: Phun
Rating: rated 5
download
Title: -BETA- Semi Automatic Pistol
Rating: 5
Filesize: 42.51 kB
Downloads: 684
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: 609
Comments: 4
Ratings: 2
Date added: 2009/06/06 04:09:51
Made with: Phun
Rating: rated 4.5
download
Title: Mini shotgun
Rating: 5
Filesize: 114.1 kB
Downloads: 1621
Comments: 2
Ratings: 1
Date added: 2014/10/05 05:48:26
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: Timer, why it doesn't work?
Rating: 5.625
Filesize: 8.52 kB
Downloads: 754
Comments: 1
Ratings: 2
Date added: 2009/07/19 23:02:27
Made with: Phun
Rating: rated 5.6
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