zenithght / Urho3D-Height-Stepper-1

Physics object that helps character step over objects in the world.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Urho3D Height Stepper


Description

Physics object that helps character step over objects in the world.

Screenshots

alt tag

Configurables:

  • minStepHeight_ - minimum height of an object that you can step over (deault = 0.08).
  • maxStepHeight_ - maximum height of an object that you can step over (deault = 0.32).
  • maxClimbAngle_ - maximum climb angle (default = 40 degrees).
  • minStepNormal_ - minimum surface normal that the character can step onto (default = 0.5).
  • applyImpulseToChar_ - whether the stepper should apply impulse to the character when it detects a steppable object (default = false).
  • charStepUpDuration_ - the time it takes for character to step up the height, smaller the value, higher the impulse (default = 0.25), applicable if applyImpulseToChar_ is set to true.

To Build

To build it, unzip/drop the repository into your Urho3D/ folder and build it the same way as you'd build the default Samples that come with Urho3D.

License

The MIT License (MIT)

About

Physics object that helps character step over objects in the world.

License:Other


Languages

Language:C++ 93.7%Language:C 3.6%Language:CMake 2.6%