- Home /
can you help with my weapons system
hey i am still learning the basic of all this but, i have made a set of arms to attach to my FP-controller and animated them to do a walk motion when the vertical controls are pressed put have placed a Sword on the floor with a box-collider on it. also i have a second set of arms with a sword in hand animating the sword being drawn... Id like to collide with weapon on the floor have it destroy and the new arms appear in the old arms place.
thank you i'm half way there now, id like to know that when my player collides with the box collider to cause on trigger can i use that to print a new game object to attach to the main camera..
Answer by meat5000 · Nov 27, 2014 at 01:50 PM
You can perform most operations in OnTrigger/OnCollision.
Just Instantiate the object, 'Find' the camera, select object parent to be camera.
Your answer
Follow this Question
Related Questions
OnCollisionEnter Issue... 1 Answer
enable components from multiple objects 0 Answers
Slowly rotating an object while pointing at mouse 0 Answers
Troubles with "isTrigger" 2 Answers
Swinging a sword through code 3 Answers