- edited description
-
assigned issue to
[#bugs] in XRL.World.Parts.AnimateObject, the CanAnimate and CanBeAnimated methods call ...
Marked for crossposting by: evil helado
Message (jump):
<illuminatiswag> in XRL.World.Parts.AnimateObject, the CanAnimate and CanBeAnimated methods call HasTagOrProperty("Animatable") to determine whether an object can be animated. This means that an object can be made animatable at runtime by setting "Animatable" as a property. However, when setting the body type of the animated object, the Animate method calls GetTag("BodyType", "Humanoid") which only checks for the tag on the blueprint of the object. This means that, for instance, a mod could make a lithofex statue animatable by setting the Animatable property on the statue when it is created; however, it is impossible to set a body type for the statue, so the statue will always be humanoid.
Expected behavior: Animatable and BodyType should be checked in a consistent manner. Preferably, both Animatable and BodyType should be checked as properties as well as tags, allowing them to be added to objects at runtime. If not, both should be checked strictly as tags.
Comments (3)
-
repo owner -
related: #8780
-
repo owner - changed version to 1.0
- changed milestone to small bugs
- Log in to comment