| Blockland Forums > Modification Help |
| Position Behind a vehicle |
| << < (2/2) |
| Brian Smithers:
Well it works perfectly for me, so I'm all good lol. |
| Destiny/Zack0Wack0:
--- Quote from: Xalos on January 15, 2012, 01:48:40 AM ---getWorldBox isn't 1-to-1 scale, I know from experience. --- End quote --- What exactly do you mean "not 1:1 scale"? What other scale is it in? It's only used to get the bounding box of the vehicle. --- Quote from: Xalos on January 15, 2012, 01:48:40 AM ---Plus "behind" would be relative to the vehicle, so you should use getEyeVector instead of getForwardVector. --- End quote --- They are the basically the same thing for vehicles. It already is relative to the vehicle, it uses getForwardVector to rotate the bounding box. --- Quote from: Port on January 15, 2012, 02:46:21 AM ---getForwardVector() returns the normalized vector that the object is facing. It has nothing to do with positions. --- End quote --- It doesn't return a position, but it has everything to do with positions. |
| Brian Smithers:
--- Quote from: Destiny/Zack0Wack0 on January 15, 2012, 06:16:59 AM ----snip- --- End quote --- Hmm. Didn't know that :o |
| Navigation |
| Message Index |
| Previous page |