Timeline for Restricting body movement withing a specific length while dragging a gameobject in unity
Current License: CC BY-SA 3.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Oct 23, 2015 at 21:40 | comment | added | Anko | Here's a question asking how to do this in the general sense. | |
Aug 24, 2015 at 10:44 | history | edited | Javasamurai | CC BY-SA 3.0 |
added 78 characters in body
|
Aug 21, 2015 at 10:47 | answer | added | Hash Buoy | timeline score: 1 | |
Aug 21, 2015 at 9:45 | comment | added | Javasamurai | I don't know what that means?I just need that the Gameobject must be restricted to the length of the string,which is the hingeJoint anchor to which it is connected. | |
Aug 21, 2015 at 8:01 | comment | added | Ocelot |
Try to find normalized direction vector between the string start and the end after physical simulation, then try move object at the dir_vector*string_length and see what happens. I'm not sure if this is possible because I'm not familiar with Unity. This comment is all that I can suggest about your question.
|
|
Aug 21, 2015 at 6:27 | review | First posts | |||
Aug 21, 2015 at 6:36 | |||||
Aug 21, 2015 at 6:24 | history | asked | Javasamurai | CC BY-SA 3.0 |