SuperCharacterController icon indicating copy to clipboard operation
SuperCharacterController copied to clipboard

False ground detecting when standing on shapes marked as trigger

Open LeBoozer opened this issue 7 years ago • 1 comments

Hey, first of all i want to thank you for the great alternative to the original CC. This controller is working great so far. One minor bug though (at least i think this wasn't your purpose): The CC detects trigger shapes as valid ground possibilities when falling onto them. You can move into the shapes as intended, but as soon as i jump on one of those trigger shapes, i "hover". Quick fix would e.g. be: In the routines for the ground detection add "QueryTriggerInteraction.Ignore" to the sphere cast as well as to the fallback raycast. You should be good to go then...

LeBoozer avatar May 29 '17 17:05 LeBoozer

Maybe I don't understand you correctly, but there is a property exactly for that purpose on the SCC (Trigger Interaction). If you set that one to "Ignore" everything works as expected.

Arcnor avatar Jun 18 '17 04:06 Arcnor