LightStriker
New Member
- Reaction score
- 1
Started the SC2 editor 2 days ago... My first project I want to try is a 3D space ship shooter.
First thing I notice, is the lack of real support out of the box for real vector calcul. Not surprising, SC2 doesn't care much about the third dimension. Same with orientation... It's define as a single float. (an angle). Unit don't really point up or down in SC2.
There's no orientation matrix, no quaternion, and the vector (point) lack most of the basic math function... (Like normalize, dot, cross...)
Surprise! The script support struct... But you can't pass them to or from a function. (Bulk Copy not supported).
You can't also ref them with a pointer. (* , not supported since patch 9)
So... I have an hard time to really understand the use of a struct I can't do much with.
The idea of creating a new struct called Matrix3 and populate a library of function like "Matrix Rotate" is kinda impossible.
So... do I understand I'm kinda stuck for a 3D space shooter or am I missing some key feature that would make my life easier?
First thing I notice, is the lack of real support out of the box for real vector calcul. Not surprising, SC2 doesn't care much about the third dimension. Same with orientation... It's define as a single float. (an angle). Unit don't really point up or down in SC2.
There's no orientation matrix, no quaternion, and the vector (point) lack most of the basic math function... (Like normalize, dot, cross...)
Surprise! The script support struct... But you can't pass them to or from a function. (Bulk Copy not supported).
You can't also ref them with a pointer. (* , not supported since patch 9)
So... I have an hard time to really understand the use of a struct I can't do much with.
The idea of creating a new struct called Matrix3 and populate a library of function like "Matrix Rotate" is kinda impossible.
So... do I understand I'm kinda stuck for a 3D space shooter or am I missing some key feature that would make my life easier?