tjheldna Posted April 12, 2013 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
Josh Posted April 12, 2013 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.
AggrorJorn Posted April 27, 2013 Posted April 27, 2013 I think this is a welcome feature for the public API. Quote
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.