jMonkeyEngine.org

  • Home
    • News
    • News Archives
    • Activity
    • Members
    • Links
  • Introduction
    • About
    • Website Manual
    • Core Team
    • Contributing
      • Anyone
      • Modeler
      • WebDev
      • Writer
      • Programmer
    • Product Showcase
  • Forums
    • Latest Topics
    • Forums Index
    • Troubleshooting >
      • General
      • Import Assets
      • Graphics
      • Effects
      • GUI
      • Physics
      • Sound
      • Networking
      • SpiderMonkey
      • TerraMonkey
      • jMonkeyPlatform
    • Project Relations >
      • Beta 1 Game Contest
      • Free Announcements
      • User Code & Projects
      • Site & Project Feedback
      • Feature Discussion
      • Small Talk
    • Development >
      • Developers
      • Contributions
      • Docs
      • jMonkeyPlatform
      • Android
      • MonkeyZone
    • Legacy jME2 >
      • Discussion
      • Contributions
      • Docs Discussion
  • Documentation
    • Installation & Setup
    • Tutorials & Docs
    • SDK Documentation
    • FAQ
    • JavaDoc
    • Docs Discussion
  • Projects
    • All Projects
    • Games
    • Tools
    • Open Source
  • Downloads
    • Download jME3 SDK
    • SVN Checkout
    • GoogleCode
    • Nightly Builds
  • Contact

Group Admins

  • Profile picture of admin
Group logo of Troubleshooting – General

Troubleshooting – General

Public Group active 37 minutes ago jmonkeyengineFollow @jmonkeyengine

Any questions related to jME problems that don’t fit any other catagories

  • Home
  • Snippets16
  • Forum
  • Members 4,643
  • RSS
  • Profile picture of sbook

    sbook replied to the forum topic Incompatible with Java 7? in the group Group logo of Troubleshooting – GeneralTroubleshooting – General 37 minutes ago

    Any stack traces?

  • Profile picture of sbook

    sbook replied to the forum topic Optimization, Logic-wise in the group Group logo of Troubleshooting – GeneralTroubleshooting – General 39 minutes ago

    The first optimization is to remember the old adage about pre-optimizations :D

    This question depends entirely on what your update loop is doing, but I would say that a smart use of the engines features – like […]

  • Profile picture of DariuszG.Jagielski

    DariuszG.Jagielski started the forum topic Optimization, Logic-wise in the group Group logo of Troubleshooting – GeneralTroubleshooting – General 2 hours, 11 minutes ago

    On wiki, there is page on optimization, but it is mainly of optimization of rendering (batch factory). But rendering is smallest part of game. I’d like to ask about tips on how to optimize game logic – after all, […]

  • Profile picture of DariuszG.Jagielski

    DariuszG.Jagielski replied to the forum topic Incompatible with Java 7? in the group Group logo of Troubleshooting – GeneralTroubleshooting – General 2 hours, 14 minutes ago

    Well, I’m still on Java 6 and uses it on daily basis, so I already compile in lower level ;) . The problem is people who tried to run on JRE 7 didn’t succeeded on that, but game runs fine on JRE 6 (my java […]

  • Profile picture of darklightning7

    darklightning7 replied to the forum topic finding/setting an object group and changing the state of an object based on what group it is touchi in the group Group logo of Troubleshooting – GeneralTroubleshooting – General 4 hours, 11 minutes ago

    @pspeed Now my posts seem really goofy, like I did not even read your post. :roll:

    Thanks again for the help.

  • Profile picture of normen

    normen replied to the forum topic finding/setting an object group and changing the state of an object based on what group it is touchi in the group Group logo of Troubleshooting – GeneralTroubleshooting – General 4 hours, 17 minutes ago

    @pspeed said:
    I actually said exactly what the error was but my post got cut off because our forum is incredibly stupid. ;)

    @darklightning7: Yeah quote him for the truth ;)
    Edit: Ah, now its visible w/o […]

  • Profile picture of pspeed

    pspeed replied to the forum topic finding/setting an object group and changing the state of an object based on what group it is touchi in the group Group logo of Troubleshooting – GeneralTroubleshooting – General 4 hours, 18 minutes ago

    I actually said exactly what the error was but my post got cut off because our forum is incredibly stupid. ;)

  • Profile picture of darklightning7

    darklightning7 replied to the forum topic finding/setting an object group and changing the state of an object based on what group it is touchi in the group Group logo of Troubleshooting – GeneralTroubleshooting – General 4 hours, 51 minutes ago

    I think I found the problem I am not testing to see if the fixedResults0 so when I test the selectedResult.getDistance() fixedResult.getDistance() it was occasionally coming up with a null distance for […]

  • Profile picture of darklightning7

    darklightning7 replied to the forum topic finding/setting an object group and changing the state of an object based on what group it is touchi in the group Group logo of Troubleshooting – GeneralTroubleshooting – General 5 hours, 10 minutes ago

    I know that is where the compiler says it fails but I have had more than a few times where the line that the compiler tells you is not actually the problem or causing the error or even related to the error. […]

  • Profile picture of pspeed

    pspeed replied to the forum topic finding/setting an object group and changing the state of an object based on what group it is touchi in the group Group logo of Troubleshooting – GeneralTroubleshooting – General 5 hours, 29 minutes ago

    “if( selectionMode == true && selectableResults.size() GREATER_THAN 0 && selectedResult.getDistance() LESS_THAN 25 && selectedResult.getDistance() LESS_THAN fixedResult.getDistance()){”

    It is possible to not […]

  • Profile picture of darklightning7

    darklightning7 replied to the forum topic finding/setting an object group and changing the state of an object based on what group it is touchi in the group Group logo of Troubleshooting – GeneralTroubleshooting – General 5 hours, 36 minutes ago

    I did set the limit and the selectableRessults.size() 0 and fixedResults.size() 0 provision in the if statement should take care of the exception when nothing is hit unless there is something I am missing. Also […]

  • Profile picture of pspeed

    pspeed replied to the forum topic finding/setting an object group and changing the state of an object based on what group it is touchi in the group Group logo of Troubleshooting – GeneralTroubleshooting – General 5 hours, 48 minutes ago

    Ummm… the ray has no length unless you set the limit.

    But anyway, seems like your NPE comes because you didn’t hit anything. A simple log statement or println before line 161 will tell you.

  • Profile picture of darklightning7

    darklightning7 replied to the forum topic finding/setting an object group and changing the state of an object based on what group it is touchi in the group Group logo of Troubleshooting – GeneralTroubleshooting – General 5 hours, 55 minutes ago

    Another issue related to this I am getting a NullPointerException when I go from a selectable object to a fixed one or to out of range quickly. I am not sure of the exact combination of events that causes this […]

  • Profile picture of darklightning7

    darklightning7 replied to the forum topic finding/setting an object group and changing the state of an object based on what group it is touchi in the group Group logo of Troubleshooting – GeneralTroubleshooting – General 8 hours, 20 minutes ago

    Thanks. That is exactly what I needed.

  • Profile picture of pspeed

    pspeed replied to the forum topic finding/setting an object group and changing the state of an object based on what group it is touchi in the group Group logo of Troubleshooting – GeneralTroubleshooting – General 8 hours, 29 minutes ago

    It depends entirely on how your scene graph is constructed. If certain branches can be ruled out of intersection with a shorter Ray then you will save time.

    At any rate, it doesn’t hurt to set the limit of […]

  • Profile picture of normen

    normen replied to the forum topic finding/setting an object group and changing the state of an object based on what group it is touchi in the group Group logo of Troubleshooting – GeneralTroubleshooting – General 8 hours, 29 minutes ago

    Oh duh, you change the range, right.. Well I guess there isn’t too much to save as afaik there is no real broadphase in the jme picking but empirical data is your best bet.

  • Profile picture of darklightning7

    darklightning7 replied to the forum topic finding/setting an object group and changing the state of an object based on what group it is touchi in the group Group logo of Troubleshooting – GeneralTroubleshooting – General 8 hours, 33 minutes ago

    so there is no performance difference between using a ray or using a vector of a short length to find objects within a certain range? If I am using a ray when finding collision .collideWith() will find all […]

  • Profile picture of normen

    normen replied to the forum topic finding/setting an object group and changing the state of an object based on what group it is touchi in the group Group logo of Troubleshooting – GeneralTroubleshooting – General 8 hours, 46 minutes ago

    You don’t save anything in the picking there.. selectables.collideWith() and fixed.collideWith() is where the work happens. If you know the player is in one room or something then make a node for that room as a […]

  • Profile picture of darklightning7

    darklightning7 replied to the forum topic finding/setting an object group and changing the state of an object based on what group it is touchi in the group Group logo of Troubleshooting – GeneralTroubleshooting – General 9 hours, 4 minutes ago

    thanks normen it worked.

    one more question related to this. Performance wise is it better to create a ray that will interact with all objects within the render distance or is there some way to create a […]

  • Profile picture of normen

    normen replied to the forum topic finding/setting an object group and changing the state of an object based on what group it is touchi in the group Group logo of Troubleshooting – GeneralTroubleshooting – General 9 hours, 29 minutes ago

    how about picking the nodes in succession?

  • Load More
Click below to login with..

Please create an account to get started.

Loading

Latest News

  • Happy earth day.. to our new contributors!
  • Google Summer of Code 2012

Recently Active Members

Profile picture of iwgeric
Profile picture of pspeed
Profile picture of Momoko_Fan
Profile picture of knucklesandwich
Profile picture of ikelaiah
Profile picture of sbook
Profile picture of cajtarth
Profile picture of iamcreasy
Profile picture of neopangaia
Profile picture of DariuszG.Jagielski
Profile picture of atomix
Profile picture of phr00t

Drag&Drop Help

  • 3D Scene Graph for Dummies
  • jME3 Math for Dummies
  • 3D Graphics Terminology
  • Hello Assets
  • Export from Blender
  • Custom Meshes
  • Physics
  • FAQ
  • Nifty’s bible

Group Tags

game jme3 online jme2 jme1 tool mmo boxes rpg crafting physics fps action gui baseball realistic gbui editor texture gis space turn-based platform tower-defense side-scroller betaville racing ogre marbles blue mmorpg albion scripting byte 1995 indie

Proudly powered by WordPress and BuddyPress.

jMonkeyEngine.org
  • Log In
  • Sign Up
  • Visit
    • Random Member
    • Random Group
close