Scene.addHinge function help

About advanced scenes, and the Thyme scripting language used in Algodoo.

Scene.addHinge function help

Postby Skrubs » Mon May 21, 2018 12:19 am

I want to add a HINGE in the position x = 0, y = 0 where it has a circle, I am trying to use this command but it is not working
Code: Select all
Scene.addHinge ({pos = [0, 0]; size = 0.1})

He does not look like an error in console, just does not do what I want.
Skrubs
 
Posts: 16
Joined: Tue Mar 06, 2018 7:36 pm

Re: Scene.addHinge function help

Postby Skrubs » Mon Sep 17, 2018 3:02 am

Solved it the poblem is missed to define geom0, geom0pos, geom1 and geom1pos beyond size
Skrubs
 
Posts: 16
Joined: Tue Mar 06, 2018 7:36 pm


Return to Thyme scripting

Who is online

Users browsing this forum: No registered users and 1 guest