|
RavEngine
|
Classes | |
| struct | Options |
Public Member Functions | |
| NavMeshComponent (Ref< MeshAsset > mesh, Options opt) | |
| void | UpdateNavMesh (Ref< MeshAsset > mesh, Options opt) |
| RavEngine::Vector< vector3 > | CalculatePath (const vector3 &start, const vector3 &end, uint16_t maxPoints=std::numeric_limits< uint16_t >::max()) |
| void | DebugDraw (class RavEngine::DebugDrawer &dbg, const struct RavEngine::Transform &tr) const override |
Public Member Functions inherited from RavEngine::IDebugRenderable | |
| virtual void | DebugDraw (RavEngine::DebugDrawer &dbg, const Transform &transform) const =0 |
Additional Inherited Members | |
Public Types inherited from RavEngine::Queryable< NavMeshComponent, IDebugRenderable > | |
| typedef std::array< ctti_t, ntypes > | arraytype |
Static Public Member Functions inherited from RavEngine::Queryable< NavMeshComponent, IDebugRenderable > | |
| static constexpr const arraytype & | GetQueryTypes () |
Public Attributes inherited from RavEngine::IDebugRenderable | |
| bool | debugEnabled = false |
| color_t | debug_color = 0xFFFFFFFF |
Public Attributes inherited from RavEngine::Queryable< NavMeshComponent, IDebugRenderable > | |
| constexpr | q_qt_def |
Static Public Attributes inherited from RavEngine::Queryable< NavMeshComponent, IDebugRenderable > | |
| static constexpr std::size_t | ntypes |
| RavEngine::Vector< vector3 > NavMeshComponent::CalculatePath | ( | const vector3 & | start, |
| const vector3 & | end, | ||
| uint16_t | maxPoints = std::numeric_limits<uint16_t>::max() |
||
| ) |
Calculate a route between two points
| start | the start location of the path, in local coordinates to the owning entity |
| end | the end location of the path, in local coordinates to the owning entity |