TheRPGAdventurer Posted May 6, 2017 Posted May 6, 2017 I am looking for a tutorial or an explanation what these vectors do. Quote
Choonster Posted May 6, 2017 Posted May 6, 2017 They don't really do anything themselves, they're just vectors.that store 2 or more coordinates and provide methods for various vector operations (e.g. addition, subtraction, normalisation, dot and cross product). The number in the name is how many coordinates the vector stores (i.e. the number of dimensions). The letter after the number is the numerical data type used by the vector, e.g. i for int, d for double, f for float. Quote Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.
TheRPGAdventurer Posted May 8, 2017 Author Posted May 8, 2017 Just now, Choonster said: They don't really do anything themselves, they're just vectors.that store 2 or more coordinates and provide methods for various vector operations (e.g. addition, subtraction, normalisation, dot and cross product). The number in the name is how many coordinates the vector stores (i.e. the number of dimensions). The letter after the number is the numerical data type used by the vector, e.g. i for int, d for double, f for float. Another question, why was vec3 removed in 1.10.2? Quote
Choonster Posted May 8, 2017 Posted May 8, 2017 2 minutes ago, TheRPGAdventurer said: Another question, why was vec3 removed in 1.10.2? It was renamed to Vec3d in 1.9 for consistency with the other vector class names. Quote Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.
TheRPGAdventurer Posted May 11, 2017 Author Posted May 11, 2017 Just now, Choonster said: It was renamed to Vec3d in 1.9 for consistency with the other vector class names. Another question, what is the best substitute from create vector helper, you see, I am helping the Dragon Mounts Author fix the player's position while riding the dragon, but in 1.10 they removed UpdateRiderPostion method in the Entity.class, the author and many of his helpers struggle to fix the bug. Quote
Choonster Posted May 11, 2017 Posted May 11, 2017 9 minutes ago, TheRPGAdventurer said: Another question, what is the best substitute from create vector helper, Vec3.createVectorHelper was removed in 1.8 when the Vec3 constructor was made public. Just use the constructor directly. Quote Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.
TheRPGAdventurer Posted May 11, 2017 Author Posted May 11, 2017 Just now, Choonster said: Vec3.createVectorHelper was removed in 1.8 when the Vec3 constructor was made public. Just use the constructor directly. thanks a lot man! Quote
Heltrato Posted May 13, 2017 Posted May 13, 2017 helpful tip use variables Vec3d vecPoint = new Vec3d(fill up 3 paramaters here); Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.