Jump to content

Articulated Joints


You are about to reply to a thread that has been inactive for 3665 days.

Please take a moment to consider if this thread is worth bumping.

Recommended Posts

I am working on a project that requires articulated movement of objects in a link set. I am not 100% sure how to do this, but the idea is similar to animating a robotic arm. each joint moves within a defined range of motion. I am thinking I will have to animate a set of linksets to make it work but I am not sure how to do it.

Here is a video of an actual sentry turret, I am trying to simulate tracking of 3 joints

================================

UPDATE

================================

Here is an illustration of what needs to move:

Turret.jpg

Link to comment
Share on other sites

That's most of all a scripting task rather than building. If this is mesh, you want to position the pivot points of each piece where you need it, to make scripting easier. Unfortunately SL set the pivot point always at the center of the meshes bounding box . You will have to add invisible geometry to your meshes, to place the pivot points where you need them. This can be done with a single triangle, which vertices are placed along a line. This line won't render in-world.

To animate that you will have to set the rotations/positions of each moving child prim in the linkset on it's own, relative to the root prim, with llSetLinkPrimitiveParamsFast function calls. It can be quite a challenge to begin with.

Link to comment
Share on other sites

  • 4 weeks later...
You are about to reply to a thread that has been inactive for 3665 days.

Please take a moment to consider if this thread is worth bumping.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...