mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-11 22:11:51 +00:00
add rigidbody:is_selectable, :set_selectable
This commit is contained in:
parent
04c367b476
commit
4b4026b028
6 changed files with 26 additions and 2 deletions
|
|
@ -15,6 +15,7 @@ struct Rigidbody {
|
|||
std::vector<Sensor> sensors;
|
||||
float mass;
|
||||
float elasticity;
|
||||
bool selectable;
|
||||
|
||||
dv::value serialize(bool saveVelocity, bool saveBodySettings) const;
|
||||
void deserialize(const dv::value& root);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue