File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed
Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -21,10 +21,8 @@ fn create_app() -> App {
2121 MeshPlugin ,
2222 ) ) ;
2323
24- // Use 20 substeps.
2524 app. insert_resource ( SubstepCount ( 20 ) ) ;
2625
27- // Disable gravity for joint tests.
2826 app. insert_resource ( Gravity ( Vector :: ZERO ) ) ;
2927
3028 app. insert_resource ( Time :: < Fixed > :: from_duration ( Duration :: from_secs_f32 (
@@ -87,7 +85,6 @@ fn revolute_motor_spins_body() {
8785 app. update ( ) ;
8886 }
8987
90- // Get the angular velocity of the dynamic body.
9188 let body_ref = app. world ( ) . entity ( dynamic) ;
9289 let angular_velocity = body_ref. get :: < AngularVelocity > ( ) . unwrap ( ) ;
9390
@@ -383,7 +380,7 @@ fn prismatic_motor_position_target() {
383380/// when it reaches the angle limit.
384381#[ test]
385382fn revolute_motor_respects_angle_limits ( ) {
386- use core :: f32 :: consts :: PI ;
383+ use crate :: math :: PI ;
387384
388385 let mut app = create_app ( ) ;
389386 app. finish ( ) ;
You can’t perform that action at this time.
0 commit comments