Page MenuHomeFeedback Tracker

setobjectscale vector/direction stuck
Closed, ResolvedPublic

Description

using the setobjectscale command forces the objects direction toward the default direction of the object and cannot change direction from that regardless if the command is reran after the object is rotated

Details

Severity
Minor
Resolution
Open
Reproducibility
Always
Operating System
Windows 10 x64
Category
Engine
Steps To Reproduce

load dev version
drop any object
rotate object to any direction other than direction dropped
issue setobjectscale for anything other than 1 (even in 3den)
object rotates back to default and then scales to size

Additional Information

using the command below allows one to simulate a scaled object even while moving (using scale variable assigned to unit):
onEachFrame {{_x setObjectScale (_x getVariable ["scale",1])} foreach (allunits select {!isnil{_x getVariable "scale"}});false;};

Event Timeline

debug created this task.Jan 18 2021, 6:22 PM
LouMontana changed the task status from New to Feedback.Jan 18 2021, 10:20 PM
dedmen added a subscriber: dedmen.Feb 1 2021, 4:34 PM

Was already fixed, but due to general delay of dev branch updates the fix didn't get out yet.

Pi closed this task as Resolved.Jun 12 2021, 4:33 PM
Pi claimed this task.