Because current Vehicle class works only on PhysX, and there is no PhysX on iOS yet, I've decided to make my own physics-engine-independent vehicle class.
After a week of heavy work you can say hello to "SimpleVehicle" class, which works on all physics engines, it's very lightweight (small amount of computations per vehicle), has enjoyable and realistic driving experience, suspension, working collisions, allows for cool drifting, it has no gears though.
Available in next release.
Also: In the video you can see a scene of some of models that I've bought online, for the purpose of making another small mobile game. It's a sci-fi oriented shooter, with view from the top. I had the idea for this game since many months. It's a bit like Death Rally, but with less racing, and more about completing missions, trading, bounty hunting, harvesting, travelling across the planet, and not just one but to other planets as well (you will have bikes, cars and space ships as well).
Thanks for the comments everyone
The 'SimpleVehicle' is a new class built into the engine as alternative to 'Vehicle', and can be used by everyone, starting next engine release.
But the game itself is my side project, just like Esenthel RTS, though I'm not thinking of selling source code for this one just yet (I've barely started working on it).
Hi Esenthel,
That's pretty cool!
You impress me with your mastery!
I have a question, not sure why you still make silent video's?
It doesn't help communicate your point (wiggling the mouse?).
I've heard you speak english on other videos, so I don't know why you don't.
Or maybe speak Polish and enable youtube translation (poorly but better then nothing).
Oh, and something that I've always wanted to know is, why not just port Bullet Physics Library to all platforms?
I think you have all but windows and instead use PhysX.
My Blog
http://www.esenthel.com/community/showthread.php?tid=6043
I hang out at Esenthel IRC Channel
http://webchat.freenode.net/?channels=#Esenthel
My only concern from the video is that when he hits the front bumper it doesn't slide out but catched on the ground. Though it is a WIP so for a WIP it looks awesome.
(04-12-2013 08:13 AM)gwald Wrote: I have a question, not sure why you still make silent video's?
Generally I like my voice, but when I hear it recorded on a Esenthel video, somehow I feel it doesn't fit, and my accent is terrible
Quote:Oh, and something that I've always wanted to know is, why not just port Bullet Physics Library to all platforms?
Bullet is great library, but from my tests:
PhysX loads phys bodies/actors faster, calculates simulations faster (especially with background thread processing), simulations are more stable, API is more cleaner. Also I have not yet implemented clothing wrapper for Bullet (didn't yet checked if it's supported there).
Currently only Esenthel for iOS uses Bullet, all other platforms use PhysX.
Scarlet Thread Wrote:My only concern from the video is that when he hits the front bumper it doesn't slide out but catched on the ground. Though it is a WIP so for a WIP it looks awesome.
Thanks
The bumper is not managed by 'SimpleVehicle' class itself, but by regular Actor/Physics collision system. You can easily adjust sliding ability by adjusting PhysMtrl parameters of that Actor (reduce bounciness, reduce frictions)
... now someone should make a RC Racing / Rock'n'Roll Racing revival for iOS with it. Classical topdown 16bit fun, but in full 3d, how awesome is that?
Let me say I was the same way when I started recording videos but its better to have
a voice there than nothing at all and if anyone says different.....well thats there problem.
and by the way Keep up the great work.
ThankYou
TheElk
Home of battle of the Juggernauts & Killer Raceway
http://www.kurschnerent.com/
I'm already playing with this, but i'm not able to push other physical bodies around, if I just use vehicle.mass() and set it to some non 0 value the vehicle simulation breaks.
// set vehicle input
flt forward=Kb.b(KB_W),
back =Kb.b(KB_S),
angle =Kb.b(KB_D)-Kb.b(KB_A);
flt accel, brake;
if(vehicle.speed()<=1 && back>forward) // if moving at slow speed and want to go backward
{
accel=-back ; // set negative acceleration
brake= forward; // set braking
}else
{
accel=forward;
brake=back;
}
vehicle.angle(angle).accel(accel).brake(brake);
// setup camera
Cam.at =vehicle.pos();
Cam.yaw=Angle(vehicle.matrix().z.xz())-PI_2;
Cam.setSpherical().updateVelocities(CAM_ATTACH_ACTOR).set();