forked from StrafesNET/strafe-client
note
This commit is contained in:
parent
cc58f23512
commit
cc19917025
@ -1375,6 +1375,7 @@ fn run_teleport_behaviour(wormhole:&Option<gameplay_attributes::Wormhole>,models
|
||||
//&gameplay_attributes::Booster::Affine(transform)=>v=transform.transform_point3(v),
|
||||
&gameplay_attributes::Booster::Velocity(velocity)=>{
|
||||
let boosted_velocity=state.body.velocity+velocity;
|
||||
//fall through boosters
|
||||
state.cull_velocity(data,boosted_velocity);
|
||||
},
|
||||
&gameplay_attributes::Booster::Energy{direction: _,energy: _}=>todo!(),
|
||||
|
Loading…
Reference in New Issue
Block a user