Jump to content

Steering behaviours on Phaser


IronArthur
 Share

Recommended Posts

Hi,

 

I´m a newb on Phaser so forgive me if its an stupid question to ask:

 

It´s implemented something to represent steering behaviours on phaser?? maybe with tween (i don´t understand tweening at all)

 

Steering behaviours its for movement for planes and cars ( usually seek )

 

It´s explained in this tutorial http://gamedevelopment.tutsplus.com/tutorials/understanding-steering-behaviors-seek--gamedev-849

 

usually the way adjust movement through time it´s like this 

 

desired_velocity = normalize(target - position) * max_velocity

steering = desired_velocity - velocity

 

 

Before i start expanding to a steerToXY functions i ask if is there something similar to that.

 

(Sorry for my english)

 

Bye and thanks!!

 

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...