Hi, I’m having a strange occourness here.
I somehow can not call
[java]getHeight()[/java]
from a ConeCollisionShape, even though that (public) method exists in that class.
My code:
ConeCollisionShape:
There is some very strange bug or my brain is somehow lagging.
Because you linked to the page with the images rather than the images themselves.
What happens when you move the cursor over the (!) icon on the left side of the window? Do you get a tool tip telling you what the error is?
What happens when you move the cursor over the (!) icon on the left side of the window? Do you get a tool tip telling you what the error is?Yes.

just taking random stabs in the dark
first of all, are you importing the correct file? can you call getRadius()? you using the jMEDK? maybe try clear any corrupt caches. Have you tried just compiling it and see if it builds?
Yes, I could call getRadius().
Yes I am using the jMEDK.
It tourned out to be a library issue even though I can not explain why just this single method was not working. I removed all librarys from the project and added them again, now it works. Still, why would a library contain like MOST OF that class? I don’t understand that, but you gave me the right hint, thanks. Maybe it was an outdated lib and not being able to call getHeight() was a bug before that is now fixed?
Still confused, but happy that it’s working, thank you all for helping.
Seems like your libraries may have been really old. getHeight() wasn’t added until Nov 26th, 2012, I guess:
http://code.google.com/p/jmonkeyengine/source/diff?spec=svn10008&r=10008&format=side&path=/trunk/engine/src/jbullet/com/jme3/bullet/collision/shapes/ConeCollisionShape.java&old_path=/trunk/engine/src/jbullet/com/jme3/bullet/collision/shapes/ConeCollisionShape.java&old=9839
…presuming that’s the same ConeCollisionShape.
What version of JME were you running before?
Well, I changed it already, don’t know how to look what version I used before, but really didn’t do anything but removed and added the same librarys again (in the properties-dialog).
Also Nov 26th, 2012 is WAY too old since I installed the sdk this summer.
So you’re using RC2 which doesn’t get updates anymore for a while now.
I’m using the stable right now.
The <span style=“text-decoration:underline;”> Updates available</span>
refers to an update for Android Support [3.0.3 -> 3.0.4]
Is that what you mean? If so, the library will be replaced if I donwload the jME SDK now, right?
Well if the version has no getHeight… You set it at some point, just store that value.
Yeah, it was solved by removing and adding the libs, now the editor (magically) has no problems anymore.
Thank you fall for the fast answers
@benkibitzer said: Yeah, it was solved by removing and adding the libs, now the editor (magically) has no problems anymore. Thank you fall for the fast answers :)
Did you configure the project to store the libraries in a lib folder insider the project? Otherwise it should pick up the libraries automatically (there is no other version of these files), unless you use your own build.
I don’t even know how to do / undo that, but yes, there is a lib - folder in my project directory.
I see no control in the property-dialog to configure it though.
@benkibitzer said: I don't even know how to do / undo that, but yes, there is a lib - folder in my project directory. I see no control in the property-dialog to configure it though.
Its configured at the top of the “Libraries” settings page. If the libs are stored in the project folder they are only updated when you do what you now did.