Search:

Type: Posts; User: defiledx1

Search: Search took 0.10 seconds.

  1. Re: Model won't go to the coordinates I specified

    I did that! Thank you thank you thank you!!!!!!!!!!!!!!!!!
  2. Re: Model won't go to the coordinates I specified

    Alright I've removed the print statements from the catch block

    and added this after the first while loop (nextLine ... etc..


    if(!(nextLine.length >= 7))
    ...
  3. Re: Model won't go to the coordinates I specified

    I apologize, the code I gave you is without the print statement

    I have it at the end , before the end of the while((nextLine = reader.readNext()) != null) { code as shown:


    ...
  4. Re: Model won't go to the coordinates I specified

    The first model shows in the array when I System.out.println it, but in the game it doesn't show.

    also no i still get exceptions.. this is my whole console:



    Sun Feb 17 19:22:13 EET 2019...
  5. Re: Model won't go to the coordinates I specified

    I did the following in the end of the while((nextLine = reader.readNext()) != null) { loop:
    System.out.println("an ID "+ java.util.Arrays.toString(nextLine));
    System.out.println("Array length: " +...
  6. Re: Model won't go to the coordinates I specified

    I'm not using an array, I'm using a Hashmap for the models, but the coords are straight data output from the CSVReader

    --- Update ---



    Alright, Good Night!
    Thanks for the help!
  7. Re: Model won't go to the coordinates I specified

    I added a printStackTrace to the catch and this is what I got:



    java.lang.ArrayIndexOutOfBoundsException: 1
    java.lang.ArrayIndexOutOfBoundsException: 1
    at...
  8. Re: Model won't go to the coordinates I specified

    Thanks for the reply!

    Uhm, I've changed the coordinates, and same problem persisted...

    As you can see, the 2 models are in the same spot (x = 1, y = 1, z = 1) which are the coordinates set for...
  9. Re: Model won't go to the coordinates I specified

    1. Yes that is the expected coordinates for the second 3D Model



    1,stall,s2tall,stallTex,0f,10.0f,0f
    2,dragoon,dragon,test1,0f,0f,0f


    but the problem is that I want each model to be in...
  10. Model won't go to the coordinates I specified

    Hello,
    First off, I'm new to this website and it seems awesome! I hope we get to share knowledge! :)

    Alright, I'm developing a game in lwjgl and I'm trying to load the models basic information...
  11. Replies
    1
    Views
    695

    Hello everyone!

    Hi everyone!

    I have been practicing java on and off and I would like to practice it more consistently from now on and joining a forums like this will help a lot!

    I'm hoping for a warm welcome...
Results 1 to 11 of 11