- Home /
Character/Object Interactivity
Before reading any further, please note that I am not using any character controller or scripts from those classes whatsoever.
Now, I would like to know if anyone knows how to have a player character interact with game objects in order to push/pull them? I've researched some of the forums and Google sources, but all of them seem to deal with Character Controller class specifically. Not to say that the code was bad or even not applicable, I just don't know what all is included with the Character Controller class. Anyways, I have everything right now at a pretty low figure on the mass scale since that seems to be a pretty determining factor in most of the research I've found thus far.
Thanks in advance!
Use collision detection to deter$$anonymous$$e when the player has got close to a game object. Then either make the game object a child of the player, so the GO moves as the player moves, or apply change in the player position to the GO.
Your answer
Follow this Question
Related Questions
Character - object interaction 1 Answer
Slowing time to key prompt 1 Answer
NullReferenceException 2 Answers
using Contains(gameObject) to find and destroy a gameObject from a list 2 Answers