Propel Object - Physics Issue
-
I have two objects that are physics objects. My first object is my player and he performs as expected. My second object is on a platform, patrolling. When I jump onto the platform with the player and collide with the second patrolling object, I use propel object to make them move away from each other. When the propel behavior executes on the collide event, the player moves back as expected, but the second object moves and then keeps patrolling moving off the platform in the process and not falling (the object has sufficient mass) staying at the same Y axis position. In other words, the second object should fall off the platform, but stays at the same y position.
It’s like the second object has no mass and cannot fall…
Thx!
-
I read somewhere on the forum that the patrol behavior doesn’t play well with physics. So my observed behavior is expected.
I fixed it by creating my own patrol behavior set… now propelling my second object works as expected!