I have a collision resolution method in my physics engine, that goes like this: Vector2 n1pos = n1.NonLinearSpace != null ? n1.NonLinearPosition : n1.Position;
I am writing a simple 2d physics engine that supports circle-circle collision and i can\'t figure out how to retrofit my collision resolution method to add res开发者_运维问答titution. How is a restitu