Airship not balanced after tilt

You can write your topic however you want, but you need to answer these questions:

  1. What do you want to achieve? Giving an airship a slight tilt, while maintaing it’s altitude.

  2. What is the issue? When the airship is tilted (in a manner similar to below) it will begin to lose altitude due to the tilt.

  3. What solutions have you tried so far? I tried applying a force of sin(theta) * mass * gravity to the VectorForce affecting it, and I added it on top of the mass * gravity force already being applied. however that did not balance it out or achieve the results I wanted, as I believe it was too much power.

I don’t need any codeblocks, but any advice or direction would be greatly appreciated!

I think this is skil issue. I I do.

1 Like

Set relativity to world

Relativity

By default, force is applied relative to Attachment0. If the parent assembly rotates, the force will change direction to match the adjusted orientation of the attachment; visualize this behavior in how the thruster of a rocket pushes it forward, regardless of the rocket’s rotation.

If RelativeTo is set to World, force will be applied in world coordinates, independent of the parent or attachment orientations; visualize this behavior as a directional force like the wind blowing against an object.

I set the RelativeTo on the VectorForce to World, however it still has that issue. Here’s the code for reference:

GravC.Force = Vector3.new(0, (gravity * mass) - (math.sin(Angle) * (gravity * mass)), 0)

nevermind, got it. Thanks! (adding more chars so it meets minimum)

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.