CollisionSurface record
public sealed record CollisionSurface What a collider is made of: a surface record’s id, a material’s id whose surface stands in for it, both or neither. A ColliderShape and each MeshPart carry one, and footsteps, impacts and bullet holes read it where something touches.
new ColliderShape.Box(new Vector3(1, 1, 1)) { Surface = new CollisionSurface(ContentId.Parse("gmod:surfaces/wood"), null) }
- Assembly
- EvilEngine.Formats
- Commit
- 4ff877b1