Only Vel
This commit is contained in:
parent
5e6ebdf125
commit
5994b05e1f
@ -1381,7 +1381,7 @@ fn set_acceleration_cull(body:&mut Body,touching:&mut TouchingState,models:&Phys
|
|||||||
let r=n.dot(a)<=Planar64::ZERO;
|
let r=n.dot(a)<=Planar64::ZERO;
|
||||||
if !r{
|
if !r{
|
||||||
culled=true;
|
culled=true;
|
||||||
println!("set_acceleration_cull contact={:?}",contact);
|
// println!("set_acceleration_cull contact={:?}",contact);
|
||||||
}
|
}
|
||||||
r
|
r
|
||||||
});
|
});
|
||||||
@ -1477,7 +1477,7 @@ impl instruction::InstructionConsumer<PhysicsInstruction> for PhysicsState {
|
|||||||
|PhysicsInstruction::Input(PhysicsInputInstruction::SetNextMouse(_))
|
|PhysicsInstruction::Input(PhysicsInputInstruction::SetNextMouse(_))
|
||||||
|PhysicsInstruction::Input(PhysicsInputInstruction::ReplaceMouse(_,_))
|
|PhysicsInstruction::Input(PhysicsInputInstruction::ReplaceMouse(_,_))
|
||||||
|PhysicsInstruction::StrafeTick=>(),
|
|PhysicsInstruction::StrafeTick=>(),
|
||||||
_=>println!("{}|{:?}",ins.time,ins.instruction),
|
_=> print!(""), //println!("{}|{:?}",ins.time,ins.instruction),
|
||||||
}
|
}
|
||||||
//selectively update body
|
//selectively update body
|
||||||
match &ins.instruction{
|
match &ins.instruction{
|
||||||
|
Loading…
Reference in New Issue
Block a user