Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: shinodan on April 25, 2012, 01:20:30 PM

Title: Restrict velocity
Post by: shinodan on April 25, 2012, 01:20:30 PM
Is there any way to limit how fast a rigidbody is flying through the air? too many people are going forward way too fast in my game when ive got them to test it.
Title: Re: Restrict velocity
Post by: Alex Chouls on April 28, 2012, 06:38:58 PM
I found this script you could use:
http://vonlehecreative.wordpress.com/2010/02/02/unity-resource-velocitylimiter/

I'll make an action version of this when I get a moment...

You can also try tweaking Mass and Drag.
Title: Re: Restrict velocity
Post by: wickedfrow on January 21, 2013, 09:08:09 PM
Hey Alex have you created this action?  I am having the same problem and I would like to be able to use the action you created, if you have that is.  Thanks a lot Alex.

-Jared
Title: Re: Restrict velocity
Post by: jeanfabre on May 14, 2013, 02:28:18 PM
Hi,

 Actually, you simply need to constraint the velocity using "Set Velocity"

https://hutonggames.fogbugz.com/default.asp?W325

check out the Break out game in the m2h game port I did:

https://hutonggames.fogbugz.com/default.asp?W942

the ball is constraint in velocity.

bye,

 Jean