|
Ive been figuring out unity tonight and im super stuck. Im trying to make a lil test game and i have a leg attatched to a first person camera that kicks in front when you click. I'm trying to figure out how to use a raycast to apply a force to the objects in front of the player when I do this. I can't seem to figure out how to work the raycast to idenify the object im looking at and apply a force to it at all.
(comments are locked)
|
|
This is honestly extremely simple. When you want to kick something, do this: to kick with a power of 100, like so: thanks man that worked and i think i understand it more or less now. one small question; what is the best way to delay it slightly so as to match up the force with the animation i made
Jun 16 '12 at 09:50 AM
kuato
scratch that i got it
Jun 16 '12 at 10:50 AM
kuato
thanks dude i think i kind of have a handle on this now
Jun 16 '12 at 03:16 PM
kuato
(comments are locked)
|
