123456789101112131415161718192021222324252627282930 |
- using System;
- using System.Collections;
- using System.Collections.Generic;
- using UnityEngine;
- public class OverrideLeaningController : MonoBehaviour
- {
- private BicycleController bicycleController;
- private Rigidbody rigidbody;
-
- void Start()
- {
- bicycleController = GetComponent<BicycleController>();
- rigidbody = GetComponentInChildren<Rigidbody>();
- bicycleController.offsetCollidersFromWheel = 2f;
- }
-
- void Update()
- {
-
- }
- private void FixedUpdate()
- {
-
- }
- }
|