-
Notifications
You must be signed in to change notification settings - Fork 6
Colliders
- [colliders]
- [collision]
- (Component: BoxCollider) *
- [walkable] **
- walkable_deck
- (Component: BoxCollider)
- walkable_capsule
- (Component: CapsuleCollider)
- walkable_deck
- [items]
- seems like children are copy of [walkable]
- [camera dampening]
- GameObject_1
- (Component: BoxCollider) - unsure of purpose
- GameObject_1
- [bogies] **
- (Component: CapsuleCollider)
- (Component: CapsuleCollider)
- [collision]
* This seems to be the general bounds of the car, enclosing the main mesh, and is used for the spawner/clear car outlines
** Children of the [walkable] transform define the player's collision bounds for the car; this is generally more detailed than [collision] and can include details like the buffer posts.
*** Bogie colliders are required for custom bogies, since they won't be copied from the base car type. These consist of two CapsuleCollider components on the [colliders].[bogies] transform. The capsules sit centered on the bogie, running transverse to the car (round ends pointing out toward rails). The radius and width are set up to match up with the wheel riding surfaces if the capsule was centered around an axle.
Demonstration of proper bogie collider shape:
Proper final alignment of bogie colliders (use "Align colliders to bogies" button):