Can setvelocity go through nodes?

Posted:
Thu Apr 12, 2012 17:49
by lkjoel
I'm trying to setup an object that will go directly to the player, ignoring nodes. I want a little animation too (so setpos will not work). How can I make it go through nodes?

Posted:
Thu Apr 12, 2012 17:58
by Jeija
Yes, setvelocity and setacceleration can be used for that as long as physical=false.
It works like self.object:setvelocity({x=?, y=?, z=?})

Posted:
Thu Apr 12, 2012 18:02
by lkjoel
oh... physical=false. DUH! thanks a lot man!

Posted:
Thu Apr 12, 2012 18:04
by Jeija
are you making a herobrine which always stands behind the player... ^^?