tjheldna Posted April 12, 2013 Share Posted April 12, 2013 I know how to do this in LE2 by defining custom collision types. However I can't seem to figure it out in Leadwerks 3. If I set a projectile set to Collision::Prop or Collision::Scene - projectile sometimes collides with player If I set a projectile to Collision::Trigger - projectile ignores BSP geometry Is it possible to set a custom collision type which I can set it to ignores player collision but detect all others in Leadwerks 3? Quote Link to comment Share on other sites More sharing options...
Josh Posted April 12, 2013 Share Posted April 12, 2013 It's not technically in the API, but you can do this: PhysicsDriver::GetCurrent()->SetCollisionResponse(type0,type1,1) 1 Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
tjheldna Posted April 12, 2013 Author Share Posted April 12, 2013 ty. I'll give this a look tonight! Quote Link to comment Share on other sites More sharing options...
tjheldna Posted April 27, 2013 Author Share Posted April 27, 2013 Hi Josh, This worked, thanks!!! Quote Link to comment Share on other sites More sharing options...
AggrorJorn Posted April 27, 2013 Share Posted April 27, 2013 I think this is a welcome feature for the public API. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.