Object Goals?
-
Can you give objects "goals"? Where the joint will attempt to return to it's set position during the entire duration of the simulation? Almost like a spring? Can this also be possible with joints?
-
-
Sorry, I don't understand. What are you trying to do?
-
Sorry, it wasn't completely accurate. I want it so an object will try return to it's original position if moved to another position. Like a spring. But just so it isn't constrained to one axis.
-
I think I see what you are saying. How would it be different (aside from easier) than connecting 3 springs together?
-
I guess if the object is obstructed by another, it will push it out of the way, or slide along it to try to return back home. Using a spring will not work. At least, that's what I think he's trying to accomplish.
-
Sort of coming from this, maybe we could have objects that seek a path to a set position? So, they try and avoid collisions and get to the specified x/y/z point in space, or another object. Kind of like basic AI...
-
AI path finding is a whole other realm of study. Not to say you couldnt make something that would look like it is pathfinding. I have a robot vacuum that does a decent job.
The original idea of an object that moves to a specified location is possible. But I want to make sure I understand what the request was.
-
I think the original request was to have a multi directional spring, so that if the object was moved away from its anchor, it would come back, no natter which XYZ it moved to. Now that I think of it, you already have a spring, why not make one multi directional as well?
-
The original idea was that the joints are atomic and can be joined to do what you want. Just connect 3 Springs and you have the same result as a specialized 3DSpring.
The problem is the "just". Its a pain to connect up 3 joints. Not to mention not simple to envision what the result will be.
SPIV will fix the pain to connect part. But a 3d spring may be possible in SP3x. Maybe a desiredPosition property on objects or something.
Advertisement