Page MenuHomeFeedback Tracker

Weird behavior of newly created objects if you turn off and then turn on their simulation while changing their position
Closed, ResolvedPublic

Description

Hard to say what causes it, but this problem appeared since first public beta version and was not present during alpha. Basically if you disable simulation of newly created object, move it somewhere and enable simulation back, position gets reset and crates "syncs" its position to original one, not the one you tried to set.

Details

Legacy ID
1868245405
Severity
None
Resolution
Open
Reproducibility
Always
Category
Scripting
Steps To Reproduce
  1. Start Editor
  2. Select Stratis
  3. Place any unit as Player
  4. Open debug console and type following code:

crate = createVehicle ["Box_NATO_Ammo_F", getPos player,[],0,""]; crate enableSimulation false; crate setPosATL getPosATL player; crate enableSimulation true;

  1. Observe that crate appears right under you (because of setPosATL getPosATL player) but when you close the menu, it quickly slides to position near you where it was originally after the spawn.
Additional Information

This problem appeared since first public beta version and was not present during alpha.

Event Timeline

SaMatra edited Steps To Reproduce. (Show Details)Jul 14 2013, 11:08 AM
SaMatra edited Additional Information. (Show Details)
SaMatra set Category to Scripting.
SaMatra set Reproducibility to Always.
SaMatra set Severity to None.
SaMatra set Resolution to Open.
SaMatra set Legacy ID to 1868245405.May 7 2016, 3:28 PM
MadDogX added a subscriber: MadDogX.May 7 2016, 3:28 PM

Mass closing ancient tickets with no activity for > 12 months; assume fixed or too trivial.

If this issue is still relevant in current dev build, please re-post.