I feel really dumb asking this but I just can not figure this out.
I have:
this->scene_->CreateComponent< Urho3D::PhysicsWorld >();
and it gives me:
error: ‘PhysicsWorld’ is not a member of ‘Urho3D’
It is the same for
Urho3D::RigidBody
and
Urho3D::CollisionShape
.
What am I doing wrong?
Edit
The samples (where I learned about
PhysicsWorld
from) all compile fine.