Panda3D
panda
src
physx
physxControllerDesc.h
1
// Filename: physxControllerDesc.h
2
// Created by: enn0x (22Sep09)
3
//
4
////////////////////////////////////////////////////////////////////
5
//
6
// PANDA 3D SOFTWARE
7
// Copyright (c) Carnegie Mellon University. All rights reserved.
8
//
9
// All use of this software is subject to the terms of the revised BSD
10
// license. You should have received a copy of this license along
11
// with this source code in a file named "LICENSE."
12
//
13
////////////////////////////////////////////////////////////////////
14
15
#ifndef PHYSXCONTROLLERDESC_H
16
#define PHYSXCONTROLLERDESC_H
17
18
#include "pandabase.h"
19
#include "luse.h"
20
21
#include "physx_includes.h"
22
23
////////////////////////////////////////////////////////////////////
24
// Class : PhysxControllerDesc
25
// Description : Descriptor class for a character controller.
26
////////////////////////////////////////////////////////////////////
27
class
EXPCL_PANDAPHYSX
PhysxControllerDesc
{
28
29
PUBLISHED:
30
virtual
void
set_to_default() = 0;
31
virtual
bool
is_valid()
const
= 0;
32
33
void
set_pos(
const
LPoint3f
&pos);
34
void
set_slope_limit(
float
slopeLimit);
35
void
set_skin_width(
float
skinWidth);
36
void
set_step_offset(
float
setpOffset);
37
void
set_interaction_flag(
bool
interactionFlag);
38
39
LPoint3f
get_pos()
const
;
40
float
get_slope_limit()
const
;
41
float
get_skin_width()
const
;
42
float
get_step_offset()
const
;
43
bool
get_interaction_flag()
const
;
44
45
public
:
46
virtual
NxControllerDesc *ptr()
const
= 0;
47
48
protected
:
49
INLINE
PhysxControllerDesc
();
50
};
51
52
#include "physxControllerDesc.I"
53
54
#endif // PHYSXCONTROLLERDESC_H
LPoint3f
This is a three-component point in space (as opposed to a three-component vector, which represents a ...
Definition:
lpoint3.h:99
PhysxControllerDesc
Descriptor class for a character controller.
Definition:
physxControllerDesc.h:27
Generated on Wed May 17 2017 23:45:38 for Panda3D by
1.8.13