XeNTaX Forum Index
Forum MultiEx Commander Tools Tools Home
It is currently Thu Jul 19, 2018 7:25 am

All times are UTC + 1 hour

Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: c# / Lua - 3D Coordinates DataTypes
PostPosted: Sun May 01, 2016 7:33 pm 
User avatar

Joined: Sat Sep 12, 2015 2:16 am
Posts: 37
Location: South Africa
Has thanked: 19 times
Have thanks: 6 times

Hi !

Im still a bit of a scrub when it comes to this, but how would I store the set of coordinates below:- as i understand it, they would appear as a series of floats (Half float ?) in the raw data, and one would then convert and store as array of doubles ?

Im not familiar with, but in terms of typical game engine custom types, would this have anything to do with Vector or Quats. im a bit put off by the fact there are 7 values , .so im guessing its something like:- X,Y,Z, scale/width/.length/height etc.

Is it a single custom type u think, or perhaps 2 combined, just point me in rough direction, im happy to do some legwork or research (if i know what im looking for :D)

the code in question:-

SomeObjectNav:Set(6.867891, 1.473541, -23.766327, 0.693505, 0.020854, -0.719862, 0.020331)

(Could be navigation coords, but i mean it referencing static objects,like rooms etc. but i guess it could be movement points for npc too or something :s

thanks, and appreciate everything u guys do, im learning alot :)

You can make the ads go away by registering

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC + 1 hour

Who is online

Users browsing this forum: Apollo and 1 guest

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group