Closed Regalis11 closed 1 week ago
So for example: Height property should be half the Y of the sprite
This wouldn't work, as it cuts off the sprite. What we're looking for instead are the bodyheight/bodywidth properties
So for example: Height property should be half the Y of the sprite
This wouldn't work, as it cuts off the sprite. What we're looking for instead are the bodyheight/bodywidth properties
My bad I was thinking about bodywidth
200 bodywidth for 254 sprite width
<RuinWallVerticalHeavyWeakened2 name="ROOCHERWALL" identifier="RuinWallVerticalHeavyWeakened2" descriptionidentifier="resizeablewallwithcollisiondetection" category="Alien" castshadow="true" bodywidth="200" resizevertical="true" body="true" scale="0.5" health="5000" noaitarget="true" damagesound="StructureAlien">
<sprite texture="Content/Map/AlienWallSet1.png" sourcerect="-2,1025,254,510" depth="0.061" spritecolor="255,0,0,255" />
</RuinWallVerticalHeavyWeakened2>
Although it does have a strange interaction with light if too close but only in the middle section
Fixed, closing
Discussed in https://github.com/FakeFishGames/Barotrauma/discussions/14659