Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Additional fields added to vehicle component to enable optional combi… #64

Open
wants to merge 1 commit into
base: development
Choose a base branch
from

Conversation

spikything
Copy link

…ning of RigidBody forces with steering forces, rather than simply moving a RigidBody when it is not set as 'kinematic'. This allows more intuitive behaviour of objects with rigid body physics which also want steering forces. This adds an extra tickbox (CombineRigidBodyForces) and an optional float field (RigidBodyPrescalar) to the AutonomousVehicle component panel, to enable non-kinematic RigidBodies to steer properly. This is disabled by default, so no default behaviour changes.

…ning of RigidBody forces with steering forces, rather than simply moving a RigidBody when it is not set as 'kinematic'. This allows more intuitive behaviour of objects with rigid body physics which also want steering forces.
@spikything
Copy link
Author

Adds an extra tickbox (CombineRigidBodyForces) and an optional float field (RigidBodyPrescalar) to the AutonomousVehicle component panel, to enable non-kinematic RigidBodies to steer properly. This is disabled by default, so no default behaviour changes. It works by combining, rather than conflicting with, any 'non-kinematic' rigid body forces with steering forces.

@spikything
Copy link
Author

Builds and works for me though :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant