Troubleshooting – General
Public Group active 37 minutes ago jmonkeyengineFollow @jmonkeyengineAny questions related to jME problems that don’t fit any other catagories
-
sbook replied to the forum topic Incompatible with Java 7? in the group
Troubleshooting – General 37 minutes agoAny stack traces?
-
sbook replied to the forum topic Optimization, Logic-wise in the group
Troubleshooting – General 39 minutes agoThe first optimization is to remember the old adage about pre-optimizations
This question depends entirely on what your update loop is doing, but I would say that a smart use of the engines features – like […]
-
DariuszG.Jagielski started the forum topic Optimization, Logic-wise in the group
Troubleshooting – General 2 hours, 11 minutes agoOn 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, […]
-
DariuszG.Jagielski replied to the forum topic Incompatible with Java 7? in the group
Troubleshooting – General 2 hours, 14 minutes agoWell, 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 […] -
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
Troubleshooting – General 4 hours, 11 minutes ago@pspeed Now my posts seem really goofy, like I did not even read your post.
Thanks again for the help.
-
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
Troubleshooting – 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 […] -
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
Troubleshooting – General 4 hours, 18 minutes agoI actually said exactly what the error was but my post got cut off because our forum is incredibly stupid.
-
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
Troubleshooting – General 4 hours, 51 minutes agoI 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 […]
-
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
Troubleshooting – General 5 hours, 10 minutes agoI 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. […]
-
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
Troubleshooting – 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 […]
-
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
Troubleshooting – General 5 hours, 36 minutes agoI 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 […]
-
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
Troubleshooting – General 5 hours, 48 minutes agoUmmm… 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.
-
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
Troubleshooting – General 5 hours, 55 minutes agoAnother 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 […]
-
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
Troubleshooting – General 8 hours, 20 minutes agoThanks. That is exactly what I needed.
-
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
Troubleshooting – General 8 hours, 29 minutes agoIt 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 […]
-
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
Troubleshooting – General 8 hours, 29 minutes agoOh 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.
-
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
Troubleshooting – General 8 hours, 33 minutes agoso 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 […]
-
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
Troubleshooting – General 8 hours, 46 minutes agoYou 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 […]
-
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
Troubleshooting – General 9 hours, 4 minutes agothanks 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 […]
-
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
Troubleshooting – General 9 hours, 29 minutes agohow about picking the nodes in succession?
- Load More
