Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Do the lights that the player can carry in the game have a defined position?
jorgeas80 Offline
Junior Member

Posts: 21
Threads: 7
Joined: Jan 2014
Reputation: 0
#7
RE: Do the lights that the player can carry in the game have a defined position?

No, it's ok. I get it. There are 2 different concepts here:
  • The position of an object (example: the flashlight object) in the World
  • The position of an object (example: the light source in the torch) in relation with another object that contains it (example: the flash light itself)

So, when the player moves, the flashlight also moves with him (because he's holding it), but the position of the light source doesn't change its coordinates, because is still in the same position in relation with the flashlight.

That could be the reason for the 2 set of coordinates that every single iLight3D object contains (LocalPosition and WorldPosition). Does it make sense?

Many thanks again!
03-04-2014, 01:28 PM
Website Find


Messages In This Thread
RE: Do the lights that the player can carry in the game have a defined position? - by jorgeas80 - 03-04-2014, 01:28 PM



Users browsing this thread: 1 Guest(s)