C
C#5w ago
ULTIMA

Trap problems with character controller

my trap has a code which will be shown below, where if the player enters the collider, they are teleported to a set Vector3, my problem is that this code is on the trap, and it wont let me access the character controller to disable it for the player to actually be teleported.
4 Replies
ULTIMA
ULTIMA5w ago
$code
MODiX
MODiX5w ago
To post C# code type the following: ```cs // code here ``` Get an example by typing $codegif in chat For longer snippets, use: https://paste.mod.gg/
ULTIMA
ULTIMA5w ago
BlazeBin - bsrcnlkrkzrn
A tool for sharing your source code with the world!
ULTIMA
ULTIMA5w ago
im thinking of doing it in reverse, or calling the code on the player and instead of ontriggerEnter "player" OnTriggerEnter "trap" or something, if that makes sense
Want results from more Discord servers?
Add your server
More Posts