Jump to content

Recommended Posts

Posted

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?

Posted

There's this method to set collision types, but it's missing from documentation. I really hope Ultra doesn't suffer from these undocumented methods that Leadwerks has so many of.

 

Collision:SetResponse(type, type, response)

 

  • Like 2

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.

×
×
  • Create New...