Panda3D
Loading...
Searching...
No Matches
physicsCollisionHandler.I
Go to the documentation of this file.
1/**
2 * PANDA 3D SOFTWARE
3 * Copyright (c) Carnegie Mellon University. All rights reserved.
4 *
5 * All use of this software is subject to the terms of the revised BSD
6 * license. You should have received a copy of this license along
7 * with this source code in a file named "LICENSE."
8 *
9 * @file physicsCollisionHandler.I
10 * @author drose
11 * @date 2002-03-16
12 */
13
14INLINE void PhysicsCollisionHandler::
15set_almost_stationary_speed(PN_stdfloat speed) {
16 _almost_stationary_speed = speed;
17}
18
19INLINE PN_stdfloat PhysicsCollisionHandler::
20get_almost_stationary_speed() {
21 return _almost_stationary_speed;
22}
23
24INLINE void PhysicsCollisionHandler::
25set_static_friction_coef(PN_stdfloat coef) {
26 _static_friction_coef = coef;
27}
28
29INLINE PN_stdfloat PhysicsCollisionHandler::
30get_static_friction_coef() {
31 return _static_friction_coef;
32}
33
34INLINE void PhysicsCollisionHandler::
35set_dynamic_friction_coef(PN_stdfloat coef) {
36 _dynamic_friction_coef = coef;
37}
38
39INLINE PN_stdfloat PhysicsCollisionHandler::
40get_dynamic_friction_coef() {
41 return _dynamic_friction_coef;
42}