|
All I want is for my character to be able to go inside an object as if it wasn't there, but i still want the gui to show up .onCollision? Is this Possible? My script is:
(comments are locked)
|
|
It sounds like you probably want the object your character is walking into to be a trigger rather than a collider. Quoting the BoxCollider page of the Reference Manual
Then you just use
(comments are locked)
|
|
The thing that comes to mind first is setting the collision to be a trigger. So instead of:
It would be:
On the gameobject that contains the collider, make just the Is Trigger box is checked. EDIT: Looks like a reply was posted while I was typing. I'll leave this up here incase it is still useful. cool, thanks that was alot of help
Jun 29 '10 at 06:19 AM
Daniel 8
(comments are locked)
|

So you want it to collide with other things but not the player?
what i want is like a hint box, you can move through it but when the player touches it the gui comes up