A lightweight 3D physics engine written in JavaScript.
4.63k
stars
700
forks
source link
RaycastVehicle: We have twice call updateWheelTransformWorld in updateWheelTransform(from updateVehicle) and then in castRay #485
Open
dimbodek opened 1 year ago
Two calls https://github.com/pmndrs/cannon-es/blob/59d72ed/src/objects/RaycastVehicle.ts#L253 https://github.com/pmndrs/cannon-es/blob/59d72ed/src/objects/RaycastVehicle.ts#L344 from https://github.com/pmndrs/cannon-es/blob/59d72ed/src/objects/RaycastVehicle.ts#L115