playMaker

Author Topic: Get gameObject delta  (Read 2588 times)

muppetpuppet

  • Junior Playmaker
  • **
  • Posts: 77
Get gameObject delta
« on: November 28, 2013, 04:56:45 PM »
Gets the current delta vector (speed and direction) of a gameobject.. I've now been using a subtraction of prev-frame and current frame positions, which is annoying as you need two states..(especially in  a loop)

would clean up heaps of my states, as I use deltaPos for animation blends and more.. 

but not essential , but would be easy and quick thing some devs would find usefull..

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Get gameObject delta
« Reply #1 on: November 30, 2013, 12:52:40 PM »