Moveable actor
GingerBGames
Member Posts: 390
Hello GS'ers,
I've got two actors, A & B. I control A. B is put into the scene and A eventually encounters B. When A get's within a certain distance from B, B moves towards A. Right now if A keeps moving forward, it can just push B the entire levels distance. How can I make B movable (to walk towards A), and at the same time, not allow A to push B the entire way when they meet? If there's a template please let me know which it is so I may download it! Thanks guys/gals.
I've got two actors, A & B. I control A. B is put into the scene and A eventually encounters B. When A get's within a certain distance from B, B moves towards A. Right now if A keeps moving forward, it can just push B the entire levels distance. How can I make B movable (to walk towards A), and at the same time, not allow A to push B the entire way when they meet? If there's a template please let me know which it is so I may download it! Thanks guys/gals.
Comments
As far as I understood you can increase the "density" of B under the "Physics" properties of the actor, so that it becomes much heavier than A or you can calculate the distance between A and B and slow down A accordingly.. Hope this helps..
Akash