You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The port to the new math API (using GLM) on the dev branch has been poorly done on the ColliderData::create() method. It expects a math::vec3* instead of a math::vec3.
Hi,
Somebody knows how to pass an inertia vector to the ColliderData create method? I'm working in the dev branch.
The following way doesn't compile.
auto boxColliderData = bullet::ColliderData::create(
BOX_MASS,
bullet::BoxShape::create(BOX_SIZE, BOX_SIZE, BOX_SIZE),
BOX_RESTITUTION,
BOX_FRICTION,
BOX_ROLLING_FRICTION,
math::vec3(0,0,0)
);
The text was updated successfully, but these errors were encountered: