feat: saving entities (WIP)
This commit is contained in:
@@ -6,5 +6,7 @@
|
||||
"triggers": [
|
||||
["aabb", -0.2, -0.2, -0.2, 0.2, 0.2, 0.2],
|
||||
["radius", 1.6]
|
||||
]
|
||||
],
|
||||
"save-rig-textures": true,
|
||||
"save-rig-pose": true
|
||||
}
|
||||
|
||||
@@ -19,6 +19,6 @@ function on_hud_open()
|
||||
count=1
|
||||
}})
|
||||
local velocity = vec3.add(throw_force, vec3.add(pvel, DROP_INIT_VEL))
|
||||
drop.get_component("rigidbody"):set_vel(velocity)
|
||||
drop.rigidbody:set_vel(velocity)
|
||||
end)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user