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

Views: 398

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: 253
Comments: 0
Ratings: 1
Date added: 2015/01/06 23:29:57
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: Bull Ball
Rating: 5.375
Filesize: 30.08 kB
Downloads: 1230
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: 726
Comments: 2
Ratings: 1
Date added: 2012/04/17 17:33:00
Made with: Algodoo v2.0.1
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: working servo
Rating: 5.5
Filesize: 15.85 kB
Downloads: 566
Comments: 3
Ratings: 2
Date added: 2009/11/07 22:35:27
Made with: Algodoo before v1.8.5
Rating: rated 5.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