Can i have Axles spin only one way?

If you have problems installing or running Algodoo, have found a bug or need in-game help - this is it!

Can i have Axles spin only one way?

Postby ALGOFAN » Thu Feb 15, 2018 1:35 am

Hello, i'm looking for a way to make an axle spin only one way, is that possible?
Or some alternative to simulate a one way bearing.
ALGOFAN
 
Posts: 2
Joined: Thu Feb 15, 2018 1:31 am

Re: Can i have Axles spin only one way?

Postby Kilinich » Thu Feb 15, 2018 4:30 pm

You could create ratchet mecaniclly or using scripted hinge.
Here it is an example:
1) viewtopic.php?f=13&t=5801
2) http://www.algodoo.com/algobox/details.php?id=57995
Dream of Algodoo as game development engine...
User avatar
Kilinich
[Best bug reporter 2010]
 
Posts: 2098
Joined: Mon Aug 31, 2009 8:27 pm
Location: South Russia

Re: Can i have Axles spin only one way?

Postby ALGOFAN » Fri Feb 16, 2018 10:59 pm

thx for the answer, it lead me to this:

http://www.algodoo.com/algobox/details.php?id=67426

But i don't understand where to put the code, i copied from what opens on the screen: "script menu..." and got the code from brake, but i can't add it on another axel ... i'mnot doing it right but have no idea how that is.
ALGOFAN
 
Posts: 2
Joined: Thu Feb 15, 2018 1:31 am


Return to Help / Bug reports

Who is online

Users browsing this forum: No registered users and 5 guests

cron