banner



How To Create A Racing Game In Roblox

2. Set Cylinder Properties

Properties - CylindricalConstraint "CylindricalConstraint"

Cylinder

AngularActuatorType Motor
AngularLimitsEnabled
InclinationAngle 90

3. Enable Slider Limits

Slider

ActuatorType None
LimitsEnabled

4. Set Lower and Upper Limits

Limits

LowerLimit -1
Restitution 0
UpperLimit 1

Create Shock Absorber

1. Create Spring Constraint

A. Select Spring Constraint

B. Create Constraint

2. Set Spring Properties

Properties - SpringConstraint "SpringConstraint"

Spring

Damping 400
FreeLength 2.2
LimitsEnabled
MaxForce inf
Stiffness 30000

Assemble Wheel Unit

1. Move Wheel and Mount Together

2. Test Shock Absorber

A. Anchor Wheel Mount

B. Test Shock

C. Un-Anchor Wheel Mount

3. Group Wheel and Mount


Duplicate Wheels

1. Move Wheel Against Base

2. Duplicate/Move Back Wheel

3. Duplicate/Move Front Wheels


Weld Back Wheels to Base

1. Create Weld Constraints

A. Show Weld Details

B. Select Weld Constraint

C. Create Constraints

Properties - WeldConstraint "WeldConstraint"

Parts

Part0 WheelMount
Part1 Base


Hinge Front Wheels to Base

1. Create Hinge Constraints

A. Select Hinge Constraint

B. Create Constraints

2. Set Hinge Properties (Both Sides)

A. Select Both Hinges

B. Set Hinges as Servos

Properties - HingeConstraint "HingeConstraint"

Hinge

ActuatorType Servo
LimitsEnabled

C. Set Servo Properties

Servo

AngularSpeed 5
ServoMaxTorque 100000
TargetAngle 0

3. Move Hinge Attachments


Finishing Up

1. Rename Wheels

Explorer
Filter workspace (Ctrl+Shift+X)

Workspace

Camera

Terrain

Obstacles

DriveScript

WheelBL

WheelBR

WheelFL

WheelFR

Base

Baseplate

2. Test the Chassis


Drive!

How To Create A Racing Game In Roblox

Source: https://developer.roblox.com/en-us/articles/building-carkit-1

Posted by: blakeronfiess.blogspot.com

0 Response to "How To Create A Racing Game In Roblox"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel