- Home /
How do I make my SketchUp model car move like a car with the arrow keys?
I am new to Unity 3D and have created a vehicle in SketchUp that I imported. (just one piece, wheels are not separate) I am trying to make an open-world vehicle exploration game, and I would like my vehicle to be drivable. Is there any way I could make it work just the default Unity gray car works, or, if not, somehow place that Unity car in my model and make it invisible so it "carries" it around?
if you are new to unity. i would reccomend taking the time to start learning C# and figure out how to write your own movement script. if you want anything to do with game development you will envitably need to learn coding to complete any project anyways. so pry best you start sooner than later. before you do anything you will need to make a surface and get colliders set up and get your car in a scene! after that i would gladly give you a basic lines to get you started
Answer by filibis · Jul 17, 2017 at 07:03 AM
I am assuming you're refferring to this package: Vehicle Tools
Easiest approach would be to launch the scenes they provided and inspect how they seperated vehicle parts and used scripts. Then try to copy&paste or 'mimic' it to your model accordingly.
Also why make it 'one piece'? At least make wheels seperate so they can rotate & turn.
Answer by TechMasterPlus · Jul 20, 2017 at 02:02 AM
Thanks for the response. I am not referring to any "package." I have just imported a SketchUp model into Unity as a GameObject and would like to make it move. That package looks like it requires separate wheels and wheel colliders, which I do not have or know how to make.
Put a rigid body on the car and use addForce on inputs. This is a vague comment and I really don't expect anyone is going to give you a full answer because you haven't shown any effort and seem to be leaving to others to make it happen for you. If you try the rigid body and add force method see how far you can get and then post a new question when you hit a wall. Or maybe after a few walls because there is plenty of information out there.
Your answer
Follow this Question
Related Questions
Moving Array Objects in a Ellipse (javascript) 1 Answer
How to make computer controlled cars? 1 Answer
Create an idle motion with a 2D sprite. 0 Answers
SetAnimationClip on mecanim State using script 0 Answers
custom genstures for leap motion? 0 Answers