Please login or register.

Login with username, password and session length
Advanced search  

News:

Forum rules - please read before posting, it can save you a lot of time.

Author Topic: Is there a way to move a 3d actor in the Z direction (up)  (Read 1885 times)

0 Members and 1 Guest are viewing this topic.

Jyujinkai

  • Global Moderator
  • Frequent poster
  • *
  • Karma: 1
  • Offline Offline
  • Posts: 351
    • View Profile
    • Jyujinkai's WME Development Blog
Is there a way to move a 3d actor in the Z direction (up)
« on: April 20, 2008, 12:16:17 AM »

I have been playing with a sequence where the player actor is in fact a space ship, that you are moving about on a large scrolling scene.

So far i have been using normal 2D walk path type stuff.. using forced perspective to give the illusion that you are moving freely. Still while doing this i thought i would ask if there is any way to have up and down , diagonal up etc etc for actor3D movement.. off the ground plan of your background 3ds file.

I am pretty sure you can not do this.. but thought i would ask.
Logged
<Antoine de Saint-Exupéry> In any thing at all, perfection is finally attained not when there is no longer anything to add, but when there is no longer anything to take away...
<Carl Sagan> If you want to make a apple pie from scratch. You must first... invent the universe

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: Is there a way to move a 3d actor in the Z direction (up)
« Reply #1 on: April 20, 2008, 09:24:33 AM »

The only way of changing 3D actor's vertical position is to:

1) set the DropToFloor property to false (actor.DropToFloor = false;)
2) change the PosY property manually (actor.PosY = 100;)

I don't know if that's enough for your purposes.
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave
 

Page created in 0.031 seconds with 23 queries.