VideoTXL icon indicating copy to clipboard operation
VideoTXL copied to clipboard

Box Collider on controlls

Open BamberBoozler opened this issue 3 years ago • 2 comments

In runtime the MainPanel object in PlayerControls generates a Box Collider which isn't flagged as a trigger, causing the player to be able to collide with them. I cant change the behaviour of the collider because it doesn't exist until after its running.

BamberBoozler avatar Aug 23 '22 20:08 BamberBoozler

This is still an issue with the latest update, but I made it work for me by putting my own trigger colliders on the elements which the prefab luckily didn't override with non trigger ones

BamberBoozler avatar Aug 28 '22 09:08 BamberBoozler

So as far as I know, those colliders are created behind my back and I don't really have a say in that. I have a script in General/Misc that can be attached that changes them to triggered at runtime.

But your last comment is interesting, if I can stop the colliders from being generated by providing my own, I'll start doing that instead.

jaquadro avatar Sep 19 '22 17:09 jaquadro

At some point I started doing the trigger collider thing, hopefully this is no longer an issue

jaquadro avatar Jan 16 '23 15:01 jaquadro