Timeline for AddForceAtPosition
Current License: CC BY-SA 3.0
4 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Aug 15, 2016 at 15:53 | comment | added | zcabjro | This is all but identical to the question supplied code, bar some refactorisation. And you probably don't want to add force in Update. See FixedUpdate for more info | |
| Aug 15, 2016 at 14:40 | comment | added | Jordi4321 | Thanks for the answer, but seems is the same as mine. The force is applied good, but only works on start position. When the bike turns to right, left or back not works. In right case the force is applied sideways, not to up...is strange or I'm doing something bad...the point to apply the force is perfect at start, but, then, when the bike is moving, the point moves to another point on the bike....localposition is another option but I don't understand how to use it. | |
| Aug 15, 2016 at 9:57 | history | edited | Hack45 | CC BY-SA 3.0 | added 33 characters in body |
| Aug 15, 2016 at 9:49 | history | answered | Hack45 | CC BY-SA 3.0 |