controllerACC

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

controllerACC

Postby Im Matt Diaz » Thu Jan 07, 2010 5:46 am

How would I make the controller acc = 0 when my object is not touching nothing???
Im Matt Diaz
 
Posts: 3
Joined: Sat Dec 26, 2009 10:42 pm

Re: controllerACC

Postby Kilinich » Thu Jan 07, 2010 9:25 am

Im Matt Diaz wrote:How would I make the controller acc = 0 when my object is not touching nothing???


Anyway, you need some event, like timer or key press...
Set scene.my.contrAcc variable, set object's controllerAcc to {scene.my.contrAcc} and change it in any event script you want.
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: controllerACC

Postby Im Matt Diaz » Thu Jan 07, 2010 11:22 pm

I got all that its just how do I make it so you cant use the controlleracc when the object is in the air?
And not touching the ground?
Im Matt Diaz
 
Posts: 3
Joined: Sat Dec 26, 2009 10:42 pm


Return to Help / Bug reports

Who is online

Users browsing this forum: No registered users and 2 guests