Jump to content

[Solved]Turn colshape


Memory

Recommended Posts

That's for simplicity of collision detection. It's easier to check if x < 10 and x > -10 then calculating the rotation and then collision. The colshapes are simple primitives (box, sphere, rectangle, etc.) It takes very little time to check if point XYZ is inside a box or rectangle, same with sphere; simply checking the distance between 2 points and comparing it with the radius of sphere.

You can use createColPolygon and additionally, onColShapeHit check the Z axis.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...