We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 046c62a commit a0f8eb3Copy full SHA for a0f8eb3
1 file changed
src/Box2D.NET.Samples/Samples/Characters/Mover.cs
@@ -72,8 +72,8 @@ public class CastResult
72
private B2Capsule m_capsule;
73
private B2BodyId m_elevatorId;
74
private B2ShapeId m_ballId;
75
- private ShapeUserData m_friendlyShape;
76
- private ShapeUserData m_elevatorShape;
+ private ShapeUserData m_friendlyShape = new ShapeUserData();
+ private ShapeUserData m_elevatorShape = new ShapeUserData();
77
private B2CollisionPlane[] m_planes = new B2CollisionPlane[m_planeCapacity];
78
private int m_planeCount;
79
private int m_totalIterations;
0 commit comments