Copying movement?
Quote from DoubleThinking on July 9, 2012, 5:39 pmI always see videos of that time travel stuff. I know it has something to do with world portals and I know a lot of mapping. But how they do stuff like you move a cube and in real time the other version from "older" time gets updated in real time. Do they use parenting or scripting?? Please give me a bit of a help here!
I always see videos of that time travel stuff. I know it has something to do with world portals and I know a lot of mapping. But how they do stuff like you move a cube and in real time the other version from "older" time gets updated in real time. Do they use parenting or scripting?? Please give me a bit of a help here!
Quote from FelixGriffin on July 9, 2012, 5:50 pmScripting, probably. Or try putting one room right above the other and using parenting, best with the reflection cubes which can't flip over.
Scripting, probably. Or try putting one room right above the other and using parenting, best with the reflection cubes which can't flip over.
Quote from Lpfreaky90 on July 9, 2012, 7:40 pmhow about https://developer.valvesoftware.com/wik ... e_movement ?
how about https://developer.valvesoftware.com/wik ... e_movement ?

Quote from josepezdj on July 10, 2012, 4:29 amWouldn't it be better to give the threads a descripting name so anyone interested in knowing about the same subject can find the topic easier? just asking...
Wouldn't it be better to give the threads a descripting name so anyone interested in knowing about the same subject can find the topic easier? just asking...
Quote from DoubleThinking on July 10, 2012, 8:00 amLpfreaky90 wrote:Will try!
Will try!
Quote from DoubleThinking on July 10, 2012, 8:39 amCan I not use any of the 4 entity parameters? I only need Entity to Move and Movement Reference as it seems like. Or am I understanding something wrong here? Moving the Reference moves the Entity to Move but for what should I need the Entity to Measure and where to place it if it is an new entity?
Can I not use any of the 4 entity parameters? I only need Entity to Move and Movement Reference as it seems like. Or am I understanding something wrong here? Moving the Reference moves the Entity to Move but for what should I need the Entity to Measure and where to place it if it is an new entity?
Quote from HMW on July 10, 2012, 2:16 pmYou do need all four parameters.
Two are the entities that will move. Let's call them cube A and cube B, where cube A is moved around in room A by the player, and cube B mimics the movement of cube A in room B.
The other two parameters are static (non-moving) entities, that define a reference point in each room.
In this example, this is what each parameter does:
Entity to measure is cube A;
Measure Reference is a static point (for example, an info_target) placed in room A.
Movement reference is the corresponding static point in room B. It should be in the same relative position. (If Measure Reference is exactly centred in the room A, Movement reference must be exactly centered in the room B. Rotation matters!)
Lastly, Entity to move is cube B.
Probably the easiest way to get the idea, is to place two info_targets and two cubes, and set them up as described above. Then move the "entity to measure" cube around, and see what happens.
You do need all four parameters.
Two are the entities that will move. Let's call them cube A and cube B, where cube A is moved around in room A by the player, and cube B mimics the movement of cube A in room B.
The other two parameters are static (non-moving) entities, that define a reference point in each room.
In this example, this is what each parameter does:
Entity to measure is cube A;
Measure Reference is a static point (for example, an info_target) placed in room A.
Movement reference is the corresponding static point in room B. It should be in the same relative position. (If Measure Reference is exactly centred in the room A, Movement reference must be exactly centered in the room B. Rotation matters!)
Lastly, Entity to move is cube B.
Probably the easiest way to get the idea, is to place two info_targets and two cubes, and set them up as described above. Then move the "entity to measure" cube around, and see what happens.
Other Portal 2 maps: Medusa Glare
Portal 1 maps: Try Anything Twice | Manic Mechanic