PGR Copakond OpenGL Engine - Bowling
Loading...
Searching...
No Matches
copakond::PhysicsMaterial Struct Reference

Physical properties affecting collision resolution. More...

#include <collisionShape.h>

Public Attributes

float bounciness = 0.05f
float friction = 0.95f

Detailed Description

Physical properties affecting collision resolution.

Member Data Documentation

◆ bounciness

float copakond::PhysicsMaterial::bounciness = 0.05f

0 = no bounce, 1 = full energy retention

◆ friction

float copakond::PhysicsMaterial::friction = 0.95f

0 = no friction, 1 = instant stop on slide


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