Skip to content

xenon615/last-action-gyro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Will a gyroscope implemented using Avian3D be able to keep an object in a vertical position?

Everyone knows that a spinning flywheel has a gyroscopic effect, meaning it tends to maintain its position in space. Okay, so that works in real life. I'd be interested to see if we can achieve the same effect using Avian3D?

Let's create our hero
hero

Top down

The disk, also known as a flywheel :), will spin(AngularVelocity) and create a gyroscopic effect.
The body is attached to it using a RevoluteJoint.
A sphere, which serves as our hero's wheel, is attached to the body using a SphericalJoint.
The hero will be set in motion by a ConstantForce applied to his body in the -Z direction.
And let him move on an uneven surface and try not to fall.

Video

In the video we see that while the flywheel is spinning, the vertical position is maintained, but as soon as it is stopped, the hero falls as if killed.
video.

About

Will a gyroscope implemented using Avian3D be able to keep an object in a vertical position?

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages