Jump to content

Collision types


Alienhead
 Share

Recommended Posts

Got a question regarding collision types.  In the docs it reads ; 

  • collisiontype: the entity collision type. This can be any integer between 0 and 99.

When reading the chart in the docs the types stop at 8.  My question is 9  - 99 can be custom type collisions? if so do I need to declare these somewhere before attempting to use them?  

For example, say I had a vehicle and I set it's collisiontype to 51. Then I have a projectile type set to 50 that I do not want colliding or registering a collision to type 51.  What is the proper way to declare this rule?

I'm only happy when I'm coding, I'm only coding when I'm happy.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...