Skip to content
This repository has been archived by the owner on Feb 13, 2018. It is now read-only.

False ground detecting when standing on shapes marked as trigger #39

Open
LeBoozer opened this issue May 29, 2017 · 1 comment
Open

Comments

@LeBoozer
Copy link

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...

@Arcnor
Copy link

Arcnor commented Jun 18, 2017

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants