Jump to content
  • 0

How do I rotate a physical root prim in relation to it's child prims?


Moongaze Celestalis
 Share

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

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

Question

  • 0

You can't do that, at least not directly.  If you rotate the root prim, you rotate the entire linkset.  So, you have two choices:

1.  You can re-link your object and make some other prim the root, or

2.  You can rotate the root and then immediately rotate every other prim the opposite direction.

Both of those are perfectly good approaches, but one is usually much better in a specific case than the other one is. In this particular case, you definitely do not want llTargetOmega ,as you have already discovered. I'm having a hard time envisioning why you might want the root prim of a boat (the hull, maybe?) to list but not the rest of the boat.  However, if that's exactly what I wanted to do, my choice would be #1. Put a tiny transparent phantom cube at the geometric center of your linkset, make it the root, and then monkey with the hull's local rotation as appropriate.

  • Like 2
Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

You can't do that, at least not directly.  If you rotate the root prim, you rotate the entire linkset.  So, you have two choices:

1.  You can re-link your object and make some other prim the root, or

2.  You can rotate the root and then immediately rotate every other prim the opposite direction.

Both of those are perfectly good approaches, but one is usually much better in a specific case than the other one is. In this particular case, you definitely do not want llTargetOmega ,as you have already discovered. I'm having a hard time envisioning why you might want the root prim of a boat (the hull, maybe?) to list but not the rest of the boat.  However, if that's exactly what I wanted to do, my choice would be #1. Put a tiny transparent phantom cube at the geometric center of your linkset, make it the root, and then monkey with the hull's local rotation as appropriate.

  • Like 2
Link to comment
Share on other sites

  • 0

You can select Edit Linked Prims and move or rotate any prim of the linkset, including the root prim.  However, like Rolig, I don't think you really want to do this.

The boat will be a physical object, and will respond to physical phenomena like gravity and wind.  I expect that this will produce the list you are looking for, although I am not a scripter or a vehicle designer.  The BWind sailing script is open source, and you could likely use that, or modify it, for your boat.

  • Like 1
Link to comment
Share on other sites

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

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...