Playmaker Forum
PlayMaker Updates & Downloads => Share New Actions => Topic started by: TrentSterling on September 21, 2014, 09:37:07 AM
-
I got tired of Get Velocity, Multiply Vector3 by Vector3, and then Set Velocity.
Didn't see it in the ecosystem or through a quick search.
Figured it might be worth an upload here.
I typically use it for a fake horizontal friction while leaving the vertical axis velocity unmodified. The action works on FixedUpdate and I commented out setting velocity OnEnter. (Because that would fire onUpdate once right? Effectively slowing things down more when the state is first entered?)
(http://i.imgur.com/08Im1xa.png)
-
Hi,
ok, it's on the Ecosystem (https://hutonggames.fogbugz.com/default.asp?W1181), thanks for contributing!
MultiplyVelocity (https://github.com/jeanfabre/PlayMakerCustomActions_U3/blob/master/Assets/PlayMaker%20Custom%20Actions/Physics/MultiplyVelocity.cs)
Bye,
Jean
-
Thanks Jean