Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / How to store vectors in an array?

Author
Message
Golelorn
8
Years of Service
User Offline
Joined: 20th Nov 2016
Location:
Posted: 21st Jul 2017 20:58
I am attempting this:



When I go to look for the vector it says it does not exist. When I try to print the array like so Print(GetVector3X(pf_grid[1,0])) I get an error message the vector doesn't exist. I also only get a 0 if I just try to print pf_grid[1,0] . I get no error message when I run the code.

I've also tried CreateVector3() then SetVector3() without success.

Another weird thing is the function pf_collision_detection uses the vector and I get no error message during the load up.
revenant chaos
Valued Member
17
Years of Service
User Offline
Joined: 21st Mar 2007
Location: Robbinsdale, MN
Posted: 21st Jul 2017 21:24 Edited at: 21st Jul 2017 21:25
It seems
Should Be
Golelorn
8
Years of Service
User Offline
Joined: 20th Nov 2016
Location:
Posted: 21st Jul 2017 21:32 Edited at: 21st Jul 2017 21:33
omg... ugh thank you

Add this to my list of obvious mistakes that I spent too much time trying to solve.

Login to post a reply

Server time is: 2024-11-24 11:56:56
Your offset time is: 2024-11-24 11:56:56