Restore RayShape as a regular shape type
Partial revert from previously removing ray shapes completely, added back as a shape type but without the specific character controller code.
This commit is contained in:
parent
c89a5fb8be
commit
45c7af9862
33 changed files with 842 additions and 26 deletions
|
|
@ -220,6 +220,7 @@ public:
|
|||
|
||||
enum ShapeType {
|
||||
SHAPE_WORLD_MARGIN, ///< plane:"plane"
|
||||
SHAPE_RAY, ///< float:"length"
|
||||
SHAPE_SEGMENT, ///< float:"length"
|
||||
SHAPE_CIRCLE, ///< float:"radius"
|
||||
SHAPE_RECTANGLE, ///< vec3:"extents"
|
||||
|
|
@ -230,6 +231,7 @@ public:
|
|||
};
|
||||
|
||||
virtual RID world_margin_shape_create() = 0;
|
||||
virtual RID ray_shape_create() = 0;
|
||||
virtual RID segment_shape_create() = 0;
|
||||
virtual RID circle_shape_create() = 0;
|
||||
virtual RID rectangle_shape_create() = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue