载入中...
搜索中...
未找到
DistanceField3D.h
浏览该文件的文档.
Regular 3D signed-distance grid for terrain and voxel collision queries. Negative samples are solid,...
Definition DistanceField3D.h:16
float getMoverGroundDot() const
Greatest dot product between mover Up and a normal from the latest move.
Definition DistanceField3D.h:169
float getCollisionDistance() const
Signed clearance from the last check (negative means penetration).
Definition DistanceField3D.h:125
float getCastDistance() const
World-space travel distance at the last cast hit.
Definition DistanceField3D.h:149
float getCollisionY() const
Y coordinate of the closest sampled point from the last collision check.
Definition DistanceField3D.h:129
bool isMoverGrounded() const
Whether the latest move encountered a normal within the walkable slope limit.
Definition DistanceField3D.h:167
float getMoverGroundSnap() const
Current post-move ground-snap distance.
Definition DistanceField3D.h:119
float getOriginX() const
World-space X coordinate of grid vertex (0,0,0).
Definition DistanceField3D.h:58
float getMoverStepHeight() const
Current automatic step height; zero disables step climbing.
Definition DistanceField3D.h:123
float getOriginY() const
World-space Y coordinate of grid vertex (0,0,0).
Definition DistanceField3D.h:60
float getCellSize() const
World-space distance between adjacent grid vertices.
Definition DistanceField3D.h:56
float getOutsideDistance() const
Distance returned for world samples outside the grid.
Definition DistanceField3D.h:64
float getNormalZ() const
Z component of the most recently sampled collision normal.
Definition DistanceField3D.h:75
float getMoverDeltaX() const
Resolved X displacement from the most recent moveCapsule call.
Definition DistanceField3D.h:153
unsigned int getRevision() const
Monotonic wrapping counter incremented once after each successful mutation.
Definition DistanceField3D.h:66
float getShapeContactY() const
Y coordinate on the sphere or capsule surface along the contact normal.
Definition DistanceField3D.h:141
float getNormalX() const
X component of the most recently sampled collision normal.
Definition DistanceField3D.h:71
float getMoverNormalX() const
X component of the most recent blocking or recovery normal.
Definition DistanceField3D.h:159
float getMoverDeltaZ() const
Resolved Z displacement from the most recent moveCapsule call.
Definition DistanceField3D.h:157
bool didCastStartInside() const
Whether the most recent cast began overlapping the solid.
Definition DistanceField3D.h:151
float getCollisionX() const
X coordinate of the closest sampled point from the last collision check.
Definition DistanceField3D.h:127
int getMoverIterations() const
Number of solver passes used by the most recent moveCapsule call.
Definition DistanceField3D.h:165
float getShapeContactZ() const
Z coordinate on the sphere or capsule surface along the contact normal.
Definition DistanceField3D.h:143
float getNormalY() const
Y component of the most recently sampled collision normal.
Definition DistanceField3D.h:73
bool didMoverHitWall() const
Whether the latest move encountered a non-walkable contact normal.
Definition DistanceField3D.h:171
float getSurfaceX() const
X coordinate of the projected signed-distance-field surface point.
Definition DistanceField3D.h:133
float getCastFraction() const
Fraction in [0,1] of the requested displacement at the last cast hit.
Definition DistanceField3D.h:147
float getMoverDeltaY() const
Resolved Y displacement from the most recent moveCapsule call.
Definition DistanceField3D.h:155
float getCollisionZ() const
Z coordinate of the closest sampled point from the last collision check.
Definition DistanceField3D.h:131
float getShapeContactX() const
X coordinate on the sphere or capsule surface along the contact normal.
Definition DistanceField3D.h:139
float getPenetrationDepth() const
Non-negative overlap depth from the most recent overlap, cast, or move query.
Definition DistanceField3D.h:145
float getSurfaceZ() const
Z coordinate of the projected signed-distance-field surface point.
Definition DistanceField3D.h:137
float getSurfaceY() const
Y coordinate of the projected signed-distance-field surface point.
Definition DistanceField3D.h:135
float getMoverNormalZ() const
Z component of the most recent blocking or recovery normal.
Definition DistanceField3D.h:163
float getMoverSkinWidth() const
Current mover separation from collision surfaces.
Definition DistanceField3D.h:115
float getOriginZ() const
World-space Z coordinate of grid vertex (0,0,0).
Definition DistanceField3D.h:62
float getMoverNormalY() const
Y component of the most recent blocking or recovery normal.
Definition DistanceField3D.h:161