I used the BetterCharacterControl example, from Jmonkeyengine 3.0 Beginners Guide, to program a car. The problem is that the car only moves when I press the keys, (no inertia), moves at a constant speed with no acceleration, and it stops suddenly whe I release the key.
So, I’m wondering, do I have to code inertia, acceleration, friction and all the forces I want to affect it, or is there any method/class that can do it for me?
Writing your question another way:
“Hi, I’m using the control for walking characters for my car. Is there any way to make the control written for walking characters work for vehicles instead even though that’s almost 100% different than anything to do with walking?”
7-8 years of answering the same questions that have already been documented make us look for ways to be a little entertaining when providing the same answers again and again. It’s less boring that way.
But I’ll keep that in mind in the future. You’d rather we didn’t answer your posts and wait for someone else. That’s fine.
If you read above, I said I’m learning from a book that doesn’t have anything about that control.
I already searched in the forum and google, and there was no similar question.
If you don’t want to help newbies, you don’t have to do that, not to mention that you don’t need to be jerks. Spend your free time doing something productive or something that you like.
From your username, I guess you’re a fellow italian monkey? Welcome aboard
Be warned: your book might not be updated with critical information, like:
do NOT use jme SDK 3.0
do NOT use Spatials as game object (yes, I know most tutorials says otherwise)
the sooner you learn gradle, the better
when you run into trouble, your best friends are @normen (for physics), @nehon (for scenegraph and shaders), @pspeed (for both and everything else). Btw, congratulations for pissing off 2 of them on your first post!