mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 09:52:27 -04:00
*** empty log message ***
This commit is contained in:
parent
b17ccf5749
commit
22fc57ba0a
@ -147,7 +147,7 @@ child_integrate(Physical *physical,
|
||||
float len = vel_vec.length();
|
||||
|
||||
if (len > current_object->get_terminal_velocity()) {
|
||||
cout << "Capping terminal velocity at: " << current_object->get_terminal_velocity() << endl;
|
||||
//cout << "Capping terminal velocity at: " << current_object->get_terminal_velocity() << endl;
|
||||
vel_vec *= current_object->get_terminal_velocity() / len;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user