(Copy of my github issue)
I’m trying to learn how to use the crate by following the collision pipeline example.
However, the following line, as it appears in the example, seems to no longer compile:
// Integrate the positions.
ball_pos = ball_object.position.append_translation(&(timestep * ball_velocity.get()));
Fails with
note: expected type `&nalgebra::TranslationBase<f32, nalgebra::U2, nalgebra::MatrixArray<f32, nalgebra::U2, nalgebra::U1>>`
found type `&nalgebra::Matrix<f32, nalgebra::U2, nalgebra::U1, nalgebra::MatrixArray<f32, nalgebra::U2, nalgebra::U1>>`
Does anyone know how to fix this?