- Home /
Question by
zeuo · Jan 10, 2011 at 04:34 AM ·
colliderplayercharactercontroller
how to make player collide for swimming
i made my own simple script for moving and i added look script to the player to make a swimming like player. the problem is that it gos through everything terrain walls even with character controller and a collider so is there a way to stop the player from going through everything
Comment
It may help to specify what is moving the character, and what is supposed to prevent that to deter$$anonymous$$e cause and effect. Is it a character controller move? A transform edit? $$anonymous$$oving around with physical force ?
Answer by SrBilyon · Jan 10, 2011 at 07:09 AM
I've asked this before, see if this will help you out:
http://answers.unity3d.com/questions/25085/allowing-player-to-swim-or-dive-in-water