CollideAgainstBounce
Introduction
Code Example
AxisAlignedCube first;
AxisAlignedCube second;first = ShapeManager.AddAxisAlignedCube();
second = ShapeManager.AddAxisAlignedCube();
second.Y = 5;
second.YAcceleration = -7;
// Move the rectangles to the right a little so we can get some
// perspective on them
first.X = 5;
second.X = 5;
// Move the camera closer to make them bigger:
Camera.Main.Z = 20;
Last updated
Was this helpful?