-
- Notifications
You must be signed in to change notification settings - Fork 252
Closed
Description
In the example code under section 10.7 this is written:
// Create the sphere collision shape rp3d::decimal radius = rp3d::decimal(3.0) const rp3d::BoxShape shape(radius); It says it wants to create a SphereShape but instead creates a BoxShape.
Also later on in the same example it uses shape like this: proxyShape = body->addCollisionShape(&shape, transform, mass); however addCollisionShape takes a non const pointer to shape so defining the shape as const won't compile.
Reactions are currently unavailable