Point lights
This commit is contained in:
@@ -57,9 +57,10 @@ public:
|
||||
b3Pos pos = {};
|
||||
|
||||
shapeDef.density = 1.0f;
|
||||
shapeDef.baseMaterial.restitution = 0.4f;
|
||||
shapeDef.baseMaterial.restitution = 0.6f;
|
||||
|
||||
b3CreateHullShape(*m_body_id, &shapeDef, &box.base );
|
||||
DebugLog("B3LOG " + std::to_string(m_entity_id) + " BODY " + std::to_string(m_body_id->index1) + "\n");
|
||||
}
|
||||
|
||||
void Initialise(b3WorldId world_id, HydraPhysicsComponent physics_comp, b3BodyId* body_id, HydraID entity_id)
|
||||
|
||||
Reference in New Issue
Block a user