I watch this post to do a simple first person with a weapon but I 've problem with library , becouse I use jme3 and there isn’t
[java]
import com.jme.system.DisplaySystem;
[/java]
How can rimediate ?
I watch this post to do a simple first person with a weapon but I 've problem with library , becouse I use jme3 and there isn’t
[java]
import com.jme.system.DisplaySystem;
[/java]
How can rimediate ?
Why are you dealing with the DisplaySystem yourself? Are you using it somewhere in your code? To import all dependencies type ctrl+shift+I.
@ziofedora said: I watch this post to do a simple first person with a weapon but I 've problem with library , becouse I use jme3 and there isn'thttp://hub.jmonkeyengine.org/forum/topic/first-person-look-with-weapon/[java]
import com.jme.system.DisplaySystem;
[/java]How can rimediate ?
I wanna just try to use 1 person weapon, but I don’t know what is [java]import com.jme.system.DisplaySystem;[/java] and if it is necessary …how can modify the code for my objective?
That thread is ancient. It is using the old JME2 and not JME3. You can find about a thousand examples of using a weapon in a first person camera. Just search for something more recent.
This topic comes up about once a week so it shouldn’t be hard to find one.