MovingPlatform.prefab 1.1 KB

123456789101112131415161718192021222324252627
  1. <?xml version="1.0"?>
  2. <node id="3263">
  3. <attribute name="Is Enabled" value="true" />
  4. <attribute name="Name" value="MovingPlatform" />
  5. <attribute name="Position" value="24.1102 26.6486 0" />
  6. <attribute name="Rotation" value="1 0 0 0" />
  7. <attribute name="Scale" value="1 1 1" />
  8. <attribute name="Variables" />
  9. <component type="StaticSprite2D" id="5491">
  10. <attribute name="Sprite" value="Sprite2D;Sprites/platform.png" />
  11. </component>
  12. <component type="RigidBody2D" id="5492">
  13. <attribute name="Body Type" value="Kinematic" />
  14. <attribute name="Fixed Rotation" value="true" />
  15. </component>
  16. <component type="CollisionBox2D" id="6365">
  17. <attribute name="Size" value="2.5 0.55" />
  18. <attribute name="Category Bits" value="1" />
  19. <attribute name="Mask Bits" value="65535" />
  20. <attribute name="Density" value="1" />
  21. <attribute name="Friction" value="1" />
  22. <attribute name="Restitution" value="0.1" />
  23. </component>
  24. <component type="JSComponent" id="7238">
  25. <attribute name="ComponentFile" value="JSComponentFile;Components/MovingPlatform.js" />
  26. </component>
  27. </node>