Skip to content

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

Open
spikything wants to merge 1 commit intoricardojmendez:developmentfrom
spikything:development
Open

Additional fields added to vehicle component to enable optional combi…#64
spikything wants to merge 1 commit intoricardojmendez:developmentfrom
spikything:development

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