mirror of
https://github.com/IntQuant/noita_entangled_worlds.git
synced 2025-10-19 15:13:16 +00:00
lazy and bad fix for minecart not syncing
This commit is contained in:
parent
05da5b82a8
commit
3a171801d5
2 changed files with 84 additions and 2 deletions
82
quant.ew/data/entities/props/physics/minecart.xml
Normal file
82
quant.ew/data/entities/props/physics/minecart.xml
Normal file
|
@ -0,0 +1,82 @@
|
||||||
|
<Entity name="unknown" >
|
||||||
|
|
||||||
|
<PhysicsBodyComponent
|
||||||
|
uid="1"
|
||||||
|
allow_sleep="1"
|
||||||
|
angular_damping="0"
|
||||||
|
fixed_rotation="0"
|
||||||
|
is_bullet="0"
|
||||||
|
linear_damping="0"
|
||||||
|
auto_clean="0"
|
||||||
|
on_death_leave_physics_body="1" >
|
||||||
|
</PhysicsBodyComponent>
|
||||||
|
<PhysicsImageShapeComponent
|
||||||
|
body_id="1"
|
||||||
|
centered="1"
|
||||||
|
image_file="data/props_gfx/minecart.png"
|
||||||
|
material="metal_rust" >
|
||||||
|
</PhysicsImageShapeComponent>
|
||||||
|
|
||||||
|
<PhysicsBodyComponent
|
||||||
|
uid="2"
|
||||||
|
allow_sleep="1"
|
||||||
|
angular_damping="0.1"
|
||||||
|
fixed_rotation="0"
|
||||||
|
is_bullet="0"
|
||||||
|
linear_damping="0"
|
||||||
|
auto_clean="0"
|
||||||
|
update_entity_transform="0"
|
||||||
|
on_death_leave_physics_body="1"
|
||||||
|
>
|
||||||
|
</PhysicsBodyComponent>
|
||||||
|
<PhysicsImageShapeComponent
|
||||||
|
body_id="2"
|
||||||
|
centered="1"
|
||||||
|
is_circle="1"
|
||||||
|
image_file="data/props_gfx/minecart_wheel_left.png"
|
||||||
|
z="-1"
|
||||||
|
material="metal_rust" >
|
||||||
|
</PhysicsImageShapeComponent>
|
||||||
|
|
||||||
|
<PhysicsBodyComponent
|
||||||
|
uid="3"
|
||||||
|
allow_sleep="1"
|
||||||
|
angular_damping="0.1"
|
||||||
|
fixed_rotation="0"
|
||||||
|
is_bullet="0"
|
||||||
|
linear_damping="0"
|
||||||
|
auto_clean="0"
|
||||||
|
update_entity_transform="0"
|
||||||
|
on_death_leave_physics_body="1"
|
||||||
|
>
|
||||||
|
</PhysicsBodyComponent>
|
||||||
|
<PhysicsImageShapeComponent
|
||||||
|
body_id="3"
|
||||||
|
centered="1"
|
||||||
|
is_circle="1"
|
||||||
|
image_file="data/props_gfx/minecart_wheel_right.png"
|
||||||
|
z="-1"
|
||||||
|
material="metal_rust" >
|
||||||
|
</PhysicsImageShapeComponent>
|
||||||
|
|
||||||
|
<PhysicsJointComponent
|
||||||
|
body1_id="1"
|
||||||
|
body2_id="2"
|
||||||
|
pos_x="4"
|
||||||
|
pos_y="12"
|
||||||
|
>
|
||||||
|
</PhysicsJointComponent>
|
||||||
|
|
||||||
|
<PhysicsJointComponent
|
||||||
|
body1_id="1"
|
||||||
|
body2_id="3"
|
||||||
|
pos_x="13"
|
||||||
|
pos_y="12"
|
||||||
|
>
|
||||||
|
</PhysicsJointComponent>
|
||||||
|
|
||||||
|
<CameraBoundComponent
|
||||||
|
max_count="50"
|
||||||
|
distance="500">
|
||||||
|
</CameraBoundComponent>
|
||||||
|
</Entity>
|
|
@ -5,8 +5,8 @@ local module = {}
|
||||||
module.phys_sync_allowed = {
|
module.phys_sync_allowed = {
|
||||||
-- Starting prop
|
-- Starting prop
|
||||||
["data/entities/props/physics_skateboard.xml"] = true,
|
["data/entities/props/physics_skateboard.xml"] = true,
|
||||||
-- ["data/entities/props/physics_minecart.xml"] = true,
|
["data/entities/props/physics_minecart.xml"] = true,
|
||||||
-- ["data/entities/props/physics/minecart.xml"] = true,
|
["data/entities/props/physics/minecart.xml"] = true,
|
||||||
["data/entities/props/physics_cart.xml"] = true,
|
["data/entities/props/physics_cart.xml"] = true,
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue