Frictional Games Forum (read-only)
MoveObject will only move along X axis - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html)
+--- Forum: Custom Stories, TCs & Mods - Development (https://www.frictionalgames.com/forum/forum-38.html)
+---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html)
+---- Thread: MoveObject will only move along X axis (/thread-22648.html)

Pages: 1 2


MoveObject will only move along X axis - JonnyAnomaly - 08-30-2013

I'm able to have a gate slide open upon a button press, but it will only move along the X axis, when it needs to move along the Z axis in the map. I've tried making sure its not colliding with anything, and still it doesn't move even when there is nothing around it. When set to X axis, it works every time.

Is anyone able to help on this?


RE: MoveObject will only move along X axis - DeAngelo - 08-30-2013

Edit it in the model editor. There should be an option in the variables to choose what axis it goes along.


RE: MoveObject will only move along X axis - DnALANGE - 08-30-2013

This is an example for you Jonny,
This example is done with castle_portcullis!
OPEN your MODEL EDITOR.
Open up the gate you are using.
go to Settings tab and open up USER DEFINED VARIABLES.
Scroll a little bit down, and you will see MoveAxis.
Use X Y Z, what ever you will need for your story.
Then go to *SaveAs and save it in to your custom story under entities.
---
*DONT JUST SAVE OR YOU WILL OVERWRITE THE ORIGINAL AMNESIA SETTINGS!!!
---
I hope this helps you with your problem.


RE: MoveObject will only move along X axis - JonnyAnomaly - 08-30-2013

Thanks guys, but I have already tried changing the axis in the editor. It only seems to work at all when the axis is set to X. I'll take a look at the castle portcullis and see if there is anything I've missed.


RE: MoveObject will only move along X axis - JonnyAnomaly - 08-31-2013

I've copied the exact settings from the portcullis and it still only moves along the X axis.


RE: MoveObject will only move along X axis - PutraenusAlivius - 08-31-2013

User Defined Variables --> Set as MoveObject --> Change MoveAxis as Z --> ??? --> PROFIT


RE: MoveObject will only move along X axis - JonnyAnomaly - 08-31-2013

Any other setting than X will not move the object at all


RE: MoveObject will only move along X axis - PutraenusAlivius - 08-31-2013

(08-31-2013, 03:51 PM)JonnyAnomaly Wrote: Any other setting than X will not move the object at all

Maybe it's because of the Joints? Maybe the joints will only react to the X axis or something.


RE: MoveObject will only move along X axis - Rapture - 08-31-2013

Can you show a screenshot of the model + User Defined Variables.


RE: MoveObject will only move along X axis - JonnyAnomaly - 08-31-2013

Sure, here you go