Anyone running Unity Car on iOS?

So I downloaded Unity Car and got my own simple car driving about in the editor. I then got it running on iOS (my device is an iPod Touch 3) and with the car on a simple flat plane I get ~2fps. It improves to 30fps once the car falls of the edge of the plane.

According to the iOS profiler the vast majority of the time is spent doing fixedUpdate calls when it’s running at ~2fps.

What is Unity Car?
The Car Tutorial?

Sorry, I shoud have said ‘purchased’ - it’s on the Asset Store.

See this link: http://migliortestesso.com/unitycar/unitycar.php

Maybe you will need to optimize the codes. Desktop builds are very different from mobile builds. Mobile uses less resources so it’s your job to optimize it. I am thinking the Unity car that you talk about is not optimized.

The website states: “Optimized code suitable for mobile system like iphone or ipad;”

But TBH I don’t think it has been tested on mobile devices, or at least older devices.

I tried the demo on that web page and is really slow even on my MBA, so I’m not really sure how much is really optimized

an MBA does not say much unless its the new one, the old ones had a GPU that can barely compete with the iPad2.

Also, the demo uses realtime shadows which on its own is already pretty deadly for an MBA.

Hard to say how well it would work on a mobile just from that there. But one thing thats clear is that car physics on mobile need to be severly limited unless you write an engine just for that purpose as the 2 major racing titles on iOS did.

well don’t know about UnityCar , but as dreamora said , you really need to go lightweight with physics.

the problem with tool on asset store sometimes regarding mobile is that they are not really ( for some i believe ) fully tested in production, and / or various device , and if the test are on latest like ipad2 you can really get surprise when get back to ipad or iphone 4g.

tool that come from a game prod already usually make their duty about be able to run at good perf on device , tools for tools well…so anyway , if you get such issue with fps well either try to see how improve that from the tool you have or think a different way to handle your stuff.

once agin I don’t know UnityCar so this is pure general advice here :smile:

Yes, I think this is exactly the case with Unity Car. I have been told it’s been tested on iPhone/iPad by other customers, but I don’t think the developer has tested it at all on mobile devices. To state that “Optimized code suitable for mobile system like iphone or ipad;” on the website is a bit misleading I think.

We need vehicle physics for an iOS/Android game but I’m starting to think that we are basically going to have to write it ourselves.

Hi Andym

I was playing with this
http://forum.unity3d.com/threads/64265-Porting-car-tutorial-to-iPhone

but the script needs editing for 3.4 (still tinkering)

I’m surprised that their has not been a nice car rig on the asset store (or more mobile projects)