|
Post by Adarsh Jamuaar on Dec 1, 2016 17:44:01 GMT
Hello game devs.. Few days back I was trying to make a motorbike.. I accessed the Car data, edited all the buggy car's X file and the spg file.. Well, the body of the bike is great.. Now I tried to edit the wheels of the car.. (Which is common for all the cars present in the data folder) .. The problem was that I was only able to change the mesh of the wheel.. But I was not able to change the rigidity of the wheel..( i guess this was because there was no .spg file available for the wheels..) . So I was unable to edit the broad wheels.. Is there any way to edit the wheels? Or the things have been put into object.dll file ?
Thank you.
|
|
|
Post by GH Games on Dec 3, 2016 14:26:22 GMT
Hi Adarsh Jamuaar, you don't need to edit anything to make a motorbike. You can do it simply by editing the Wheel offsets and scale from withing the car object. Then add the skinmesh of your motorbike (don't use a rigidbody as the final bike as you won't be able to apply pointlight's etc) and hide the body/wheel geometry. You should know that the body of the car is still there just hidden. So keep that in mind when making your maps etc. Anyway, this is the easiest way I know and it's just a suggestion. However it will be easier than editing a load of stuff xD Hope it helps! See below: (P.S. I haven't changed anything here. It takes a bit of trial and error)
|
|
|
Post by Adarsh Jamuaar on Dec 8, 2016 16:39:51 GMT
Hello grasshopper.. Thank you for your reply.. You didn't get me correctly.. I know about the scales and other things.. But I want to modify the shape of the wheel which is provided by default.. Actually a bike does not have a wheel broad and flat like a car. Bike's wheel is somewhat curved at the sides (for inclination). And the problem is that I'm unable to change the rigidity of the wheel by accessing the files present in the car object folder whereas I'm able to change the rigidity of the car body ( I guess because of the .spg file) .. And even there's a need to change the car body because bike rigidity sphere is much less than a car.. And the CG won't be just fine with a car body. Thats why I've changed the body and I was successful in it but was unable to change the rigidity and shape of the wheels..
|
|
|
Post by indiedev on Dec 9, 2016 11:53:47 GMT
just use the wheel object and attach to body, you can change it's size and curve with the 3 scaling values.
|
|
|
Bike dev.
Dec 25, 2016 14:56:23 GMT
via mobile
Post by Adarsh Jamuaar on Dec 25, 2016 14:56:23 GMT
That's not enough bro.. You can't make the corner of the wheels smooth.. :/
|
|
|
Post by indiedev on Dec 26, 2016 3:39:40 GMT
why don't you just replace the wheel_mesh.x with a smoother model/more polygons? also, you said you edited .spg files - what software did you use? i thought they can only be generated with 3ImpactConverter_51 and not edited?
|
|
|
Bike dev.
Dec 26, 2016 17:48:42 GMT
via mobile
Post by Adarsh Jamuaar on Dec 26, 2016 17:48:42 GMT
That file will only edit the mesh but the collision will remain the original one.. .spg handles collion but there's no .spg file for wheel whereas the car body has! I guess while generating shadow using sketchup, .spg file is also generated ( not sure )..
|
|
|
Post by indiedev on Dec 28, 2016 9:38:44 GMT
.spg files are 'sphere group' rigid bodies, maybe if you make one from your own mesh using 3ImpactConverter_51 and place it there it will be used by rad. i think the .coo files made by SketchUp rad exporter may be polygon rigid based, while .xsm is likely box based so won't work for wheels.
|
|
|
Bike dev.
Dec 30, 2016 3:28:54 GMT
via mobile
Post by Adarsh Jamuaar on Dec 30, 2016 3:28:54 GMT
Okay, thanks for the information. But there's no way to change the wheel rigidity as I'm unable to find any .spg file for the wheels..
|
|
|
Post by Power Supersport on Dec 30, 2016 17:34:35 GMT
Wheels do not use the same mechanic as the rigid bodies... They use a casted ray from the center of the wheel to the ground... At least that's what I know... You can't change the collision of the default car wheels...
|
|
|
Post by indiedev on Dec 31, 2016 3:30:03 GMT
that explains why it's low poly then. last option is to build your own wheels from scratch, and attach this with joints and springs for suspension, using force torque for acceleration. be aware this may be beyond rads limits if wheel is too hi-poly.
|
|