CollisionMotion record
public sealed record CollisionMotion What a collision that’s one moving body says about how it moves. Only its mass is kept. Source’s .phy gives one for a prop of one solid.
var melon = new CollisionContent([new Collider(new ColliderShape.Sphere(0.2f), ["solid"])])
{
Motion = new CollisionMotion { Mass = 10 }
};
- Assembly
- EvilEngine.Formats
- Commit
- 4ff877b1