Skip to main content

Timeline for AddForceAtPosition

Current License: CC BY-SA 3.0

7 events
when toggle format what by license comment
Aug 16, 2016 at 16:16 history edited zcabjro CC BY-SA 3.0
added 9 characters in body
Aug 16, 2016 at 5:57 comment added Jordi4321 Great explanation, I now understand a little more these things. Thank you !!!
Aug 15, 2016 at 18:18 vote accept Jordi4321
Aug 15, 2016 at 18:04 comment added zcabjro In short, X, Y, Z represent world space. If your bike is facing down the positive z axis, then the front of the bike may be found by taking it's position and adding some distance value to its position.z. Once the bike turns, this is no longer the case. Suppose the bike turns 90 degrees to the right, now facing down the positive x axis. Adding to the bike's z is now taking you to the bike's left. transform.forward let's you always find the front of the bike, now matter it's rotation
Aug 15, 2016 at 18:02 comment added Jordi4321 OH YEAH!! it worked. I can't understand the official documentations of this Unity functions, are very very complicated for me, and the first option you said is confused for me...well, the second option is simply PERFECT, but i needed to add one more line, this is the final code and is just I need, I edited the first post with the code. A LOT OF THANKS!!
Aug 15, 2016 at 16:01 history edited zcabjro CC BY-SA 3.0
added 270 characters in body
Aug 15, 2016 at 15:51 history answered zcabjro CC BY-SA 3.0