Home    LittleBigPlanet 2 - 3 - Vita - Karting    LittleBigPlanet 2    [LBP2] Help!
#1

What is local space?

Archive: 7 posts


I really am not clear as to the use of the "local space" options on things like the camera. Could someone please explain this mysterious function to my poor, fevered brain?

Thanks in advance

RF
2011-11-04 14:32:00

Author:
RainbowtipsFort
Posts: 144


In the LBP universe, you have two different concepts of space. You have local space, and global space.

global space is everything in the level. It's the objects, the ground, sackbots...everything. When using movers or cameras, this option means that your component settings will operate in relation to this. A mover set to move left will always move left in relation to the level, cameras will maintain their orientation in regards to it as well.

When we talk about local space, we are basically talking about the space as it relates locally to one object or a group of them attached together. This setting changes the behavior of components in that they no longer use the entire level as a point of reference. The mover or camera now takes into account its own orientation.

A mover placed on a ball and set to move left will always move left in relation to which way the ball is facing. If you turn the ball to face left then activate the mover, it now moves down since its frame of reference has changed. If the ball is facing right, it would move up.

A camera set to local space will rotate and move with the object it is attached to assuming player tracking is disabled.

Think of it this way. If I told you to move something to the north side of a room, you would move it to the same spot regardless which way the room is facing. This would be global space. If I asked you to move it to your left, you would move it in relation to which way you are facing and where you are. That is local space.

Hope that helps.
2011-11-04 14:46:00

Author:
tdarb
Posts: 689


interesting... i want to create a fuse, so if i set a mover to local space, place it on a rail (so to speak) it will move along the rail regardless of whether i originally set it to got right? am i seeing this correctly?2011-11-04 15:24:00

Author:
GribbleGrunger
Posts: 3910


interesting... i want to create a fuse, so if i set a mover to local space, place it on a rail (so to speak) it will move along the rail regardless of whether i originally set it to got right? am i seeing this correctly?
Consider this, you have a rocket pointing up. You put a mover on the rocket and set it to move up in regards to global space. Let it run and it will indeed move up. If you rotate the rocket 180 degrees so it is pointing downwards, the rocket will still move UP as the settings tell it which direction to move in relation to the whole level (or your TV screen if you like). If you were to set the mover's settings to local space then the rocket would still move up while pointing upwards. However when you rotate it so it's pointing downwards the rocket would move DOWN.

This example should hopefully make sense.

Global: Rocket moves towards the top of your TV regardless of orientation.
Local: Rocket moves in the direction it is pointing.

For your fuse, no it wouldn't really work. To make an object follow a set path other methods would be more useful (the motion recorder the best one). Unless by rail you mean like a roller coaster rail (your object resting ontop of it in the same layer) then the local space mover would work.
2011-11-04 15:45:00

Author:
Xaif
Posts: 365


Consider this, you have a rocket pointing up. You put a mover on the rocket and set it to move up in regards to global space. Let it run and it will indeed move up. If you rotate the rocket 180 degrees so it is pointing downwards, the rocket will still move UP as the settings tell it which direction to move in relation to the whole level (or your TV screen if you like). If you were to set the mover's settings to local space then the rocket would still move up while pointing upwards. However when you rotate it so it's pointing downwards the rocket would move DOWN.

This example should hopefully make sense.

Global: Rocket moves towards the top of your TV regardless of orientation.
Local: Rocket moves in the direction it is pointing.

For your fuse, no it wouldn't really work. To make an object follow a set path other methods would be more useful (the motion recorder the best one). Unless by rail you mean like a roller coaster rail (your object resting ontop of it in the same layer) then the local space mover would work.

is there a way to record with the motion recorder while something is on rails? would i have to move it with the move controller or can i change that?
2011-11-04 16:58:00

Author:
GribbleGrunger
Posts: 3910


I don't think you can, no. But what you could do is build a rail system then use your motion controller to guide the fuse over it, that way you get rid of any jerkiness resulting naturally from the Move. Once you delete your rail you should be left with a super smooth motion.2011-11-04 19:17:00

Author:
Xaif
Posts: 365


That's perfect, tdarb. Thank you for a great explanation!2011-11-04 20:09:00

Author:
RainbowtipsFort
Posts: 144


LBPCentral Archive Statistics
Posts: 1077139    Threads: 69970    Members: 9661    Archive-Date: 2019-01-19

Datenschutz
Aus dem Archiv wurden alle persönlichen Daten wie Name, Anschrift, Email etc. - aber auch sämtliche Inhalte wie z.B. persönliche Nachrichten - entfernt.
Die Nutzung dieser Webseite erfolgt ohne Speicherung personenbezogener Daten. Es werden keinerlei Cookies, Logs, 3rd-Party-Plugins etc. verwendet.