Overload  1.1
Game engine with editor
Public Attributes | List of all members
OvPhysics::Settings::BodySettings Struct Reference

#include <BodySettings.h>

Public Attributes

btVector3 linearVelocity = { 0.f, 0.f, 0.f }
 
btVector3 angularVelocity = { 0.f, 0.f, 0.f }
 
btVector3 linearFactor = { 1, 1, 1 }
 
btVector3 angularFactor = { 1, 1, 1 }
 
float restitution = 0.f
 
float friction = 0.5f
 
bool isTrigger = false
 
bool isKinematic = false
 

Detailed Description

Usefull to re-create a body using its previous settings

Member Data Documentation

◆ angularFactor

btVector3 OvPhysics::Settings::BodySettings::angularFactor = { 1, 1, 1 }

◆ angularVelocity

btVector3 OvPhysics::Settings::BodySettings::angularVelocity = { 0.f, 0.f, 0.f }

◆ friction

float OvPhysics::Settings::BodySettings::friction = 0.5f

◆ isKinematic

bool OvPhysics::Settings::BodySettings::isKinematic = false

◆ isTrigger

bool OvPhysics::Settings::BodySettings::isTrigger = false

◆ linearFactor

btVector3 OvPhysics::Settings::BodySettings::linearFactor = { 1, 1, 1 }

◆ linearVelocity

btVector3 OvPhysics::Settings::BodySettings::linearVelocity = { 0.f, 0.f, 0.f }

◆ restitution

float OvPhysics::Settings::BodySettings::restitution = 0.f

The documentation for this struct was generated from the following file: