A better way to make two actors collide? ("Move To" vs "Accelerate To"... vs "Interpolate"?)
mhedges
Raised on VCSMember Posts: 634
Hello -
Scenario: Two actors headed in random directions need to collide. If I use "Move To" or "Accelerate To", the actors will (eventually) collide, but sometimes not before going on some unintended arc or parabola. As both actors head towards each other, their x,y are constrained, and the actors adjust their trajectories trying to collide, hence the arcs. They may sometimes look cool, but the intended effect is really to, when both actors selected, stop and head towards each other in a line.
Could I interpolate the two actors towards each other? What would be the best approach?
Thanks, regards.
Comments
Can't use interpolate as that behavior is outside the physics engine and overrides collide.
Guru Video Channel | Lost Oasis Games | FRYING BACON STUDIOS