03fe5dcce8
* physics updates, lua bindings * velocity setters * fix softbody gravity * gui things * colliders cpu and gpu separation * terrain prop check for missing assets * lua internal put in function
30 lines
628 B
C++
30 lines
628 B
C++
#pragma once
|
|
#include "WickedEngine.h"
|
|
|
|
class EditorComponent;
|
|
|
|
class ColliderWindow : public wi::gui::Window
|
|
{
|
|
public:
|
|
void Create(EditorComponent* editor);
|
|
|
|
EditorComponent* editor = nullptr;
|
|
wi::ecs::Entity entity = wi::ecs::INVALID_ENTITY;
|
|
void SetEntity(wi::ecs::Entity entity);
|
|
|
|
wi::gui::Label infoLabel;
|
|
wi::gui::CheckBox cpuCheckBox;
|
|
wi::gui::CheckBox gpuCheckBox;
|
|
wi::gui::ComboBox shapeCombo;
|
|
wi::gui::Slider radiusSlider;
|
|
wi::gui::Slider offsetX;
|
|
wi::gui::Slider offsetY;
|
|
wi::gui::Slider offsetZ;
|
|
wi::gui::Slider tailX;
|
|
wi::gui::Slider tailY;
|
|
wi::gui::Slider tailZ;
|
|
|
|
void ResizeLayout() override;
|
|
};
|
|
|