mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Increase default height for NavMesh convex hulls
This commit is contained in:
parent
8757d0a43f
commit
92ecdcf698
@ -92,8 +92,8 @@ ConvexVolumeTool::ConvexVolumeTool() :
|
|||||||
m_sample(0),
|
m_sample(0),
|
||||||
m_areaType(SAMPLE_POLYAREA_GRASS),
|
m_areaType(SAMPLE_POLYAREA_GRASS),
|
||||||
m_polyOffset(0.0f),
|
m_polyOffset(0.0f),
|
||||||
m_boxHeight(200.0f),
|
m_boxHeight(500.0f),
|
||||||
m_boxDescent(150.0f),
|
m_boxDescent(250.0f),
|
||||||
m_npts(0),
|
m_npts(0),
|
||||||
m_nhull(0)
|
m_nhull(0)
|
||||||
{
|
{
|
||||||
@ -112,9 +112,9 @@ void ConvexVolumeTool::reset()
|
|||||||
|
|
||||||
void ConvexVolumeTool::handleMenu()
|
void ConvexVolumeTool::handleMenu()
|
||||||
{
|
{
|
||||||
imguiSlider("Shape Height", &m_boxHeight, 0.1f, 300.0f, 0.1f);
|
imguiSlider("Shape Height", &m_boxHeight, 0.1f, 2000.0f, 0.1f);
|
||||||
imguiSlider("Shape Descent", &m_boxDescent, 0.1f, 300.0f, 0.1f);
|
imguiSlider("Shape Descent", &m_boxDescent, 0.1f, 2000.0f, 0.1f);
|
||||||
imguiSlider("Poly Offset", &m_polyOffset, 0.0f, 100.0f, 0.1f);
|
imguiSlider("Poly Offset", &m_polyOffset, 0.0f, 1000.0f, 0.1f);
|
||||||
|
|
||||||
imguiSeparator();
|
imguiSeparator();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user