removed fpp kit
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 7a57aa60af614860ba14c07fdb43ad4e
|
||||
timeCreated: 1746661579
|
||||
@@ -94,6 +94,15 @@
|
||||
"processors": "",
|
||||
"interactions": "",
|
||||
"initialStateCheck": false
|
||||
},
|
||||
{
|
||||
"name": "Sprint",
|
||||
"type": "Button",
|
||||
"id": "df786de7-aff8-496e-9c10-9699e37e542e",
|
||||
"expectedControlType": "",
|
||||
"processors": "",
|
||||
"interactions": "",
|
||||
"initialStateCheck": false
|
||||
}
|
||||
],
|
||||
"bindings": [
|
||||
@@ -360,6 +369,17 @@
|
||||
"action": "Menu2",
|
||||
"isComposite": false,
|
||||
"isPartOfComposite": false
|
||||
},
|
||||
{
|
||||
"name": "",
|
||||
"id": "8f8321d3-e7e9-4c01-9b59-d1d7ed8afb3b",
|
||||
"path": "<Keyboard>/leftShift",
|
||||
"interactions": "",
|
||||
"processors": "",
|
||||
"groups": "",
|
||||
"action": "Sprint",
|
||||
"isComposite": false,
|
||||
"isPartOfComposite": false
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -1,8 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 831d88d24f3c2e74aa7d68807a3fb768
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -1,3 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 7f520f359bd34f48b97ce13443381090
|
||||
timeCreated: 1741791644
|
||||
@@ -1,50 +0,0 @@
|
||||
using RebootKit.Engine.Foundation;
|
||||
using RebootKit.Engine.Services.Simulation;
|
||||
using UnityEngine;
|
||||
using Logger = RebootKit.Engine.Foundation.Logger;
|
||||
|
||||
namespace RebootKit.FPPKit {
|
||||
public class FPPActor : Actor {
|
||||
static readonly Logger s_logger = new(nameof(FPPActor));
|
||||
|
||||
// [field: SerializeField]
|
||||
// public CharacterLocomotion Locomotion { get; private set; }
|
||||
//
|
||||
// [field: SerializeField]
|
||||
// public FirstPersonCamera FPPCamera { get; private set; }
|
||||
//
|
||||
// [field: SerializeField]
|
||||
// public PhysicsObjectDragger Dragger { get; private set; }
|
||||
//
|
||||
// [field: SerializeField]
|
||||
// public float DragObjectDistanceFromCamera { get; private set; } = 2.0f;
|
||||
|
||||
[SerializeField] FPPLocomotion m_Locomotion;
|
||||
[SerializeField] FPPCamera m_Camera;
|
||||
|
||||
[SerializeField] PhysicsObjectDragger m_PhysicsDragger;
|
||||
[SerializeField] FloatRange m_DragDistanceRange = new(1.0f, 5.0f);
|
||||
|
||||
void Update() {
|
||||
m_PhysicsDragger.TargetWorldPosition = m_Camera.Camera.transform.position + m_Camera.transform.forward * 2.0f;
|
||||
}
|
||||
|
||||
public void Jump() {
|
||||
m_Locomotion.Jump();
|
||||
}
|
||||
|
||||
public void Look(Vector2 input) {
|
||||
m_Camera.Rotate(input.x, input.y);
|
||||
}
|
||||
|
||||
public void MoveRight(float input) {
|
||||
Vector3 direction = Quaternion.AngleAxis(m_Camera.Yaw, Vector3.up) * Vector3.right;
|
||||
m_Locomotion.AddMovementInput(direction, input);
|
||||
}
|
||||
|
||||
public void MoveForward(float input) {
|
||||
Vector3 direction = Quaternion.AngleAxis(m_Camera.Yaw, Vector3.up) * Vector3.forward;
|
||||
m_Locomotion.AddMovementInput(direction, input);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,2 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: aaa2199caa5cc4d4caf0677e0fe43a1b
|
||||
@@ -1,55 +0,0 @@
|
||||
using RebootKit.Engine.Services.Simulation.Sensors;
|
||||
using Unity.Cinemachine;
|
||||
using UnityEngine;
|
||||
|
||||
namespace RebootKit.FPPKit {
|
||||
[AddComponentMenu(FPPConsts.k_AddComponentMenu + "First Person Camera")]
|
||||
public class FPPCamera : MonoBehaviour {
|
||||
[SerializeField] float _pickDistance = 5.0f;
|
||||
|
||||
[SerializeField] LayerMask _pickLayer;
|
||||
|
||||
[field: SerializeField]
|
||||
public float Sensitivity { get; set; }
|
||||
|
||||
[SerializeField] float _pitchMin = -80f;
|
||||
|
||||
[SerializeField] float _pitchMax = 80f;
|
||||
|
||||
[field: SerializeField]
|
||||
public CinemachineCamera Camera { get; private set; }
|
||||
|
||||
readonly RaycastSensor _raycastSensor = new();
|
||||
|
||||
public float Pitch { get; private set; }
|
||||
public float Yaw { get; private set; }
|
||||
|
||||
public ISensor Sensor {
|
||||
get {
|
||||
_raycastSensor.ray = new Ray(Camera.transform.position, Camera.transform.forward);
|
||||
_raycastSensor.maxDistance = _pickDistance;
|
||||
_raycastSensor.layerMask = _pickLayer;
|
||||
return _raycastSensor;
|
||||
}
|
||||
}
|
||||
|
||||
void LateUpdate() {
|
||||
Camera.transform.localRotation = Quaternion.Euler(Pitch, 0f, 0f);
|
||||
transform.rotation = Quaternion.Euler(0f, Yaw, 0f);
|
||||
}
|
||||
|
||||
public void Rotate(float x, float y) {
|
||||
float sens = Sensitivity;
|
||||
|
||||
Pitch -= y * sens;
|
||||
Pitch = Mathf.Clamp(Pitch, _pitchMin, _pitchMax);
|
||||
|
||||
Yaw += x * sens;
|
||||
}
|
||||
|
||||
public void SetLookDirection(Vector3 forward) {
|
||||
Pitch = Mathf.Asin(-forward.y) * Mathf.Rad2Deg;
|
||||
Yaw = Mathf.Atan2(forward.x, forward.z) * Mathf.Rad2Deg;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,2 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: b82691de261d95842bde9bca81db0893
|
||||
@@ -1,5 +0,0 @@
|
||||
namespace RebootKit.FPPKit {
|
||||
static class FPPConsts {
|
||||
public const string k_AddComponentMenu = "Reboot Reality/FPP Kit/";
|
||||
}
|
||||
}
|
||||
@@ -1,3 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 5ca7230f523943eca592f168a743cd9c
|
||||
timeCreated: 1742421307
|
||||
@@ -1,157 +0,0 @@
|
||||
using UnityEngine;
|
||||
using Unity.Mathematics;
|
||||
|
||||
namespace RebootKit.FPPKit {
|
||||
public class FPPLocomotion : MonoBehaviour {
|
||||
[SerializeField] CharacterController m_CharacterController;
|
||||
|
||||
public float maxStrafeSpeed = 2.0f;
|
||||
public float maxMovementSpeedBackward = 2.0f;
|
||||
public float maxMovementSpeed = 4.0f;
|
||||
public float maxSprintSpeed = 15.0f;
|
||||
public float jumpHeight = 1.0f;
|
||||
public float gravity = 10f;
|
||||
public float maxFallSpeed = 20f;
|
||||
public float damping = 20.0f;
|
||||
|
||||
[Range(0.0f, 1.0f)]
|
||||
public float airControlRatio = 0.5f;
|
||||
|
||||
float3 m_CurrentVelocity;
|
||||
bool m_IsFalling;
|
||||
|
||||
bool m_IsSprinting;
|
||||
bool m_JumpRequested;
|
||||
|
||||
float3 m_PendingInputValue;
|
||||
|
||||
public bool IsGrounded => m_CharacterController.isGrounded;
|
||||
public bool IsMovingBackwards { get; private set; }
|
||||
public bool IsSprinting => m_IsSprinting;
|
||||
public bool IsStrafing { get; private set; }
|
||||
|
||||
public float3 Velocity => m_CurrentVelocity;
|
||||
public float3 LocalVelocity => m_CharacterController.transform.InverseTransformDirection(m_CurrentVelocity);
|
||||
|
||||
void Update() {
|
||||
ConsumePendingInput();
|
||||
UpdateVerticalVelocity();
|
||||
|
||||
m_CharacterController.Move(m_CurrentVelocity * Time.deltaTime);
|
||||
|
||||
ApplyFriction();
|
||||
DetectFall();
|
||||
}
|
||||
|
||||
void DetectFall() {
|
||||
if (m_IsFalling && m_CharacterController.isGrounded) {
|
||||
m_IsFalling = false;
|
||||
} else if (!m_CharacterController.isGrounded) {
|
||||
m_IsFalling = true;
|
||||
}
|
||||
}
|
||||
|
||||
void ConsumePendingInput() {
|
||||
if (!IsGrounded) {
|
||||
m_PendingInputValue *= airControlRatio;
|
||||
}
|
||||
|
||||
m_PendingInputValue.y = 0.0f;
|
||||
|
||||
float3 localInputValue = m_CharacterController.transform.InverseTransformDirection(m_PendingInputValue);
|
||||
|
||||
float pendingInputMagnitude = math.length(m_PendingInputValue);
|
||||
float3 direction = float3.zero;
|
||||
|
||||
if (pendingInputMagnitude > 0.0f) {
|
||||
direction = math.normalize(m_PendingInputValue);
|
||||
}
|
||||
|
||||
IsStrafing = false;
|
||||
IsMovingBackwards = false;
|
||||
|
||||
float movementSpeed;
|
||||
if (math.dot(localInputValue, Vector3.forward) <= 0.0f) {
|
||||
movementSpeed = maxMovementSpeedBackward;
|
||||
IsMovingBackwards = true;
|
||||
} else if (m_IsSprinting) {
|
||||
movementSpeed = maxSprintSpeed;
|
||||
} else if (math.abs(localInputValue.x) > 0.0f && math.abs(localInputValue.z) < 0.1f) {
|
||||
movementSpeed = maxStrafeSpeed;
|
||||
} else {
|
||||
movementSpeed = maxMovementSpeed;
|
||||
}
|
||||
|
||||
float3 movementVelocity = m_CurrentVelocity;
|
||||
movementVelocity.y = 0.0f;
|
||||
movementVelocity += direction * (movementSpeed * pendingInputMagnitude);
|
||||
movementVelocity.y = 0.0f;
|
||||
|
||||
float movementVelocityMagnitude = math.length(movementVelocity);
|
||||
float3 movementVelocityDirection = movementVelocityMagnitude > 0.0f ? math.normalize(movementVelocity) : float3.zero;
|
||||
|
||||
if (movementVelocityMagnitude > movementSpeed) {
|
||||
movementVelocityMagnitude = movementSpeed;
|
||||
}
|
||||
|
||||
movementVelocity = movementVelocityDirection * movementVelocityMagnitude;
|
||||
|
||||
m_CurrentVelocity.x = movementVelocity.x;
|
||||
m_CurrentVelocity.z = movementVelocity.z;
|
||||
|
||||
m_PendingInputValue = float3.zero;
|
||||
}
|
||||
|
||||
void UpdateVerticalVelocity() {
|
||||
if (m_CharacterController.isGrounded) {
|
||||
if (m_JumpRequested) {
|
||||
m_CurrentVelocity.y = math.sqrt(2.0f * gravity * jumpHeight);
|
||||
m_JumpRequested = false;
|
||||
} else {
|
||||
m_CurrentVelocity.y = -1f;
|
||||
}
|
||||
} else {
|
||||
m_CurrentVelocity.y -= gravity * Time.deltaTime;
|
||||
m_CurrentVelocity.y = math.max(m_CurrentVelocity.y, -maxFallSpeed);
|
||||
}
|
||||
}
|
||||
|
||||
void ApplyFriction() {
|
||||
if (!IsGrounded) {
|
||||
return;
|
||||
}
|
||||
|
||||
float3 movementVelocity = m_CurrentVelocity;
|
||||
movementVelocity.y = 0.0f;
|
||||
|
||||
movementVelocity = math.lerp(movementVelocity, float3.zero, damping * Time.deltaTime);
|
||||
|
||||
m_CurrentVelocity.x = movementVelocity.x;
|
||||
m_CurrentVelocity.z = movementVelocity.z;
|
||||
}
|
||||
|
||||
public void AddVelocity(float3 velocity) {
|
||||
m_CurrentVelocity += velocity;
|
||||
}
|
||||
|
||||
public void AddMovementInput(float3 input, float scale) {
|
||||
m_PendingInputValue += input * scale;
|
||||
}
|
||||
|
||||
public void Jump() {
|
||||
if (!m_CharacterController.isGrounded) {
|
||||
return;
|
||||
}
|
||||
|
||||
m_JumpRequested = true;
|
||||
}
|
||||
|
||||
public void StartSprint() {
|
||||
m_IsSprinting = true;
|
||||
}
|
||||
|
||||
public void StopSprint() {
|
||||
m_IsSprinting = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,3 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: af6449f44da741059e88498fe89ca2d0
|
||||
timeCreated: 1742636055
|
||||
@@ -1,124 +0,0 @@
|
||||
using System;
|
||||
using System.Threading;
|
||||
using Cysharp.Threading.Tasks;
|
||||
using RebootKit.Engine;
|
||||
using RebootKit.Engine.Foundation;
|
||||
using RebootKit.Engine.Main;
|
||||
using RebootKit.Engine.Services.Console;
|
||||
using RebootKit.Engine.Services.Input;
|
||||
using Unity.Mathematics;
|
||||
using UnityEngine;
|
||||
using UnityEngine.AddressableAssets;
|
||||
using UnityEngine.InputSystem;
|
||||
using Object = UnityEngine.Object;
|
||||
|
||||
namespace RebootKit.FPPKit {
|
||||
public static class FPPConfig {
|
||||
[ConfigVar("fpp.mouse.sens", 0.25f, "Mouse look sensitivity")] public static ConfigVar s_MouseSensitivity;
|
||||
[ConfigVar("fpp.mouse.invert.y", 0, "Invert mouse look")] public static ConfigVar s_MouseInvertY;
|
||||
[ConfigVar("fpp.gamepad.sens", 4.0f, "Gamepad look sensitivity")] public static ConfigVar s_GamepadSensitivity;
|
||||
}
|
||||
|
||||
public static class SensitivityReader {
|
||||
public static float2 Read(InputAction action) {
|
||||
if (action == null || action.activeControl == null) {
|
||||
return float2.zero;
|
||||
}
|
||||
|
||||
float2 sensitivity = action.ReadValue<Vector2>();
|
||||
|
||||
bool isGamepad = action.activeControl.device is Gamepad;
|
||||
|
||||
if (isGamepad) {
|
||||
sensitivity *= FPPConfig.s_GamepadSensitivity.FloatValue;
|
||||
} else {
|
||||
sensitivity *= FPPConfig.s_MouseSensitivity.FloatValue;
|
||||
|
||||
if (FPPConfig.s_MouseInvertY.IndexValue == 1) {
|
||||
sensitivity.y *= -1;
|
||||
}
|
||||
}
|
||||
|
||||
return sensitivity;
|
||||
}
|
||||
}
|
||||
|
||||
public class FPPPlayerController : IController {
|
||||
readonly Config m_Config;
|
||||
FPPActor m_FPPActor;
|
||||
|
||||
[Inject] InputService m_InputService;
|
||||
|
||||
public FPPPlayerController(Config config) {
|
||||
m_Config = config;
|
||||
}
|
||||
|
||||
public void Dispose() {
|
||||
}
|
||||
|
||||
public async UniTask OnStart(CancellationToken cancellationToken) {
|
||||
m_InputService.LockCursor();
|
||||
m_InputService.EnableControls();
|
||||
|
||||
m_FPPActor = await RR.World.SpawnActor<FPPActor>(m_Config.fppActorPrefab, cancellationToken);
|
||||
|
||||
await Awaitable.NextFrameAsync(cancellationToken);
|
||||
}
|
||||
|
||||
public void OnStop() {
|
||||
m_InputService.DisableControls();
|
||||
m_InputService.UnlockCursor();
|
||||
Object.Destroy(m_FPPActor);
|
||||
|
||||
RR.World.KillActor(m_FPPActor);
|
||||
}
|
||||
|
||||
public void OnTick() {
|
||||
if (m_FPPActor == null) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (!Application.isFocused) {
|
||||
return;
|
||||
}
|
||||
|
||||
// m_FPPActor.Locomotion.maxMovementSpeed = m_MovementSpeedCVar.FloatValue;
|
||||
|
||||
Vector2 lookInput = m_Config.lookActionReference.action.ReadValue<Vector2>();
|
||||
m_FPPActor.Look(lookInput * FPPConfig.s_MouseSensitivity.FloatValue);
|
||||
|
||||
Vector2 moveInput = m_Config.moveActionReference.action.ReadValue<Vector2>();
|
||||
m_FPPActor.MoveRight(moveInput.x);
|
||||
m_FPPActor.MoveForward(moveInput.y);
|
||||
|
||||
if (m_Config.jumpActionReference.action.WasPerformedThisFrame()) {
|
||||
m_FPPActor.Jump();
|
||||
}
|
||||
|
||||
// m_FPPActor.Dragger.TargetWorldPosition = m_FPPActor.FPPCamera.Camera.transform.position + m_FPPActor.FPPCamera.Camera.transform.forward * m_FPPActor.DragObjectDistanceFromCamera;
|
||||
//
|
||||
// if (m_Config.dragObjectActionReference.action.WasPressedThisFrame() && !m_FPPActor.Dragger.IsDragging) {
|
||||
// GameObject pickedGameObject = m_FPPActor.FPPCamera.Sensor.Sense();
|
||||
// if (pickedGameObject != null && pickedGameObject.TryGetComponent(out Rigidbody rigidbody)) {
|
||||
// m_FPPActor.Dragger.Grab(rigidbody);
|
||||
// }
|
||||
// }
|
||||
//
|
||||
// if (m_Config.dragObjectActionReference.action.WasReleasedThisFrame()) {
|
||||
// m_FPPActor.Dragger.Drop();
|
||||
// }
|
||||
}
|
||||
|
||||
[Serializable]
|
||||
public class Config {
|
||||
public AssetReferenceT<GameObject> fppActorPrefab;
|
||||
|
||||
public InputActionReference moveActionReference;
|
||||
public InputActionReference lookActionReference;
|
||||
public InputActionReference jumpActionReference;
|
||||
public InputActionReference dragObjectActionReference;
|
||||
public InputActionReference primaryActionReference;
|
||||
public InputActionReference secondaryActionReference;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,2 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 5e9f327e597f7d8489ee899941f7255a
|
||||
@@ -1,14 +0,0 @@
|
||||
using RebootKit.Engine.Foundation;
|
||||
using UnityEngine;
|
||||
|
||||
namespace RebootKit.FPPKit {
|
||||
[CreateAssetMenu(menuName = FPPConsts.k_AddComponentMenu + "Player Controller")]
|
||||
public class FPPPlayerControllerAsset : ControllerAsset {
|
||||
[SerializeField] FPPPlayerController.Config m_Config;
|
||||
|
||||
public override IController Create() {
|
||||
FPPPlayerController instance = new(m_Config);
|
||||
return instance;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,2 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 43f38c326fd565e46a29f30e4f20031b
|
||||
@@ -1,33 +0,0 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!114 &11400000
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 43f38c326fd565e46a29f30e4f20031b, type: 3}
|
||||
m_Name: FPP PlayerController
|
||||
m_EditorClassIdentifier:
|
||||
m_Config:
|
||||
fppActorPrefab:
|
||||
m_AssetGUID: c5a555fd0308dc546b2a31af07869f90
|
||||
m_SubObjectName:
|
||||
m_SubObjectGUID:
|
||||
m_SubObjectType:
|
||||
m_EditorAssetChanged: 0
|
||||
moveActionReference: {fileID: -2772844096359753972, guid: f991e9abd9a53ee4b94b329a5ce96cb2,
|
||||
type: 3}
|
||||
lookActionReference: {fileID: -5746443703610909298, guid: f991e9abd9a53ee4b94b329a5ce96cb2,
|
||||
type: 3}
|
||||
jumpActionReference: {fileID: 2789365106649255415, guid: f991e9abd9a53ee4b94b329a5ce96cb2,
|
||||
type: 3}
|
||||
dragObjectActionReference: {fileID: 2331847964233633448, guid: f991e9abd9a53ee4b94b329a5ce96cb2,
|
||||
type: 3}
|
||||
primaryActionReference: {fileID: 7005240712943983493, guid: f991e9abd9a53ee4b94b329a5ce96cb2,
|
||||
type: 3}
|
||||
secondaryActionReference: {fileID: -1076036341132388265, guid: f991e9abd9a53ee4b94b329a5ce96cb2,
|
||||
type: 3}
|
||||
@@ -1,8 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 9d6ffec340675ff46a2c932a4a0b4bd6
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -1,8 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 8811a3c5f762a1844abd9e3e0426f204
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -1,331 +0,0 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!1 &6086846679135428685
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 7761779135599839476}
|
||||
- component: {fileID: 1018448983365033889}
|
||||
- component: {fileID: 7282522638044830840}
|
||||
- component: {fileID: 2402344678768307677}
|
||||
- component: {fileID: -4348331595965045202}
|
||||
- component: {fileID: 3351589437949293952}
|
||||
- component: {fileID: 425536605545141119}
|
||||
m_Layer: 0
|
||||
m_Name: actor_fpp
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!4 &7761779135599839476
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 6086846679135428685}
|
||||
serializedVersion: 2
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children:
|
||||
- {fileID: 3547307509376589031}
|
||||
- {fileID: 5117685723249707591}
|
||||
m_Father: {fileID: 0}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!114 &1018448983365033889
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 6086846679135428685}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: aaa2199caa5cc4d4caf0677e0fe43a1b, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
<ActorGuid>k__BackingField:
|
||||
A: 144324275
|
||||
B: 1332240922
|
||||
C: 776644504
|
||||
D: 2255624026
|
||||
m_Locomotion: {fileID: -4348331595965045202}
|
||||
m_Camera: {fileID: 7282522638044830840}
|
||||
m_PhysicsDragger: {fileID: 2402344678768307677}
|
||||
m_DragDistanceRange:
|
||||
min: 1
|
||||
max: 5
|
||||
--- !u!114 &7282522638044830840
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 6086846679135428685}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: b82691de261d95842bde9bca81db0893, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
_pickDistance: 5
|
||||
_pickLayer:
|
||||
serializedVersion: 2
|
||||
m_Bits: 4294967295
|
||||
<Sensitivity>k__BackingField: 0.5
|
||||
_pitchMin: -80
|
||||
_pitchMax: 80
|
||||
<Camera>k__BackingField: {fileID: 8557190970217331903}
|
||||
--- !u!114 &2402344678768307677
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 6086846679135428685}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 8498955cf5ff17145aa4bbd96edd8ca6, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
<DampingFactor>k__BackingField: 1
|
||||
<AngularSlowdown>k__BackingField: 90
|
||||
<DragForce>k__BackingField: 50
|
||||
--- !u!114 &-4348331595965045202
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 6086846679135428685}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: af6449f44da741059e88498fe89ca2d0, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_CharacterController: {fileID: 425536605545141119}
|
||||
maxMovementSpeed: 4
|
||||
maxSprintSpeed: 15
|
||||
jumpHeight: 1
|
||||
gravity: 10
|
||||
maxFallSpeed: 20
|
||||
damping: 20
|
||||
--- !u!54 &3351589437949293952
|
||||
Rigidbody:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 6086846679135428685}
|
||||
serializedVersion: 4
|
||||
m_Mass: 70
|
||||
m_Drag: 0
|
||||
m_AngularDrag: 0.05
|
||||
m_CenterOfMass: {x: 0, y: 0, z: 0}
|
||||
m_InertiaTensor: {x: 1, y: 1, z: 1}
|
||||
m_InertiaRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_IncludeLayers:
|
||||
serializedVersion: 2
|
||||
m_Bits: 0
|
||||
m_ExcludeLayers:
|
||||
serializedVersion: 2
|
||||
m_Bits: 0
|
||||
m_ImplicitCom: 1
|
||||
m_ImplicitTensor: 1
|
||||
m_UseGravity: 1
|
||||
m_IsKinematic: 0
|
||||
m_Interpolate: 0
|
||||
m_Constraints: 80
|
||||
m_CollisionDetection: 2
|
||||
--- !u!143 &425536605545141119
|
||||
CharacterController:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 6086846679135428685}
|
||||
m_Material: {fileID: 0}
|
||||
m_IncludeLayers:
|
||||
serializedVersion: 2
|
||||
m_Bits: 0
|
||||
m_ExcludeLayers:
|
||||
serializedVersion: 2
|
||||
m_Bits: 0
|
||||
m_LayerOverridePriority: 0
|
||||
m_ProvidesContacts: 0
|
||||
m_Enabled: 1
|
||||
serializedVersion: 3
|
||||
m_Height: 2
|
||||
m_Radius: 0.5
|
||||
m_SlopeLimit: 45
|
||||
m_StepOffset: 0.3
|
||||
m_SkinWidth: 0.08
|
||||
m_MinMoveDistance: 0.001
|
||||
m_Center: {x: 0, y: 1, z: 0}
|
||||
--- !u!1 &7286498852570965723
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 5117685723249707591}
|
||||
- component: {fileID: 7327033897601353362}
|
||||
- component: {fileID: 1858263895917388134}
|
||||
m_Layer: 0
|
||||
m_Name: Capsule
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!4 &5117685723249707591
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 7286498852570965723}
|
||||
serializedVersion: 2
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 1, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 7761779135599839476}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!33 &7327033897601353362
|
||||
MeshFilter:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 7286498852570965723}
|
||||
m_Mesh: {fileID: 10208, guid: 0000000000000000e000000000000000, type: 0}
|
||||
--- !u!23 &1858263895917388134
|
||||
MeshRenderer:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 7286498852570965723}
|
||||
m_Enabled: 1
|
||||
m_CastShadows: 1
|
||||
m_ReceiveShadows: 1
|
||||
m_DynamicOccludee: 1
|
||||
m_StaticShadowCaster: 0
|
||||
m_MotionVectors: 1
|
||||
m_LightProbeUsage: 1
|
||||
m_ReflectionProbeUsage: 1
|
||||
m_RayTracingMode: 2
|
||||
m_RayTraceProcedural: 0
|
||||
m_RayTracingAccelStructBuildFlagsOverride: 0
|
||||
m_RayTracingAccelStructBuildFlags: 1
|
||||
m_SmallMeshCulling: 1
|
||||
m_RenderingLayerMask: 1
|
||||
m_RendererPriority: 0
|
||||
m_Materials:
|
||||
- {fileID: 2100000, guid: 31321ba15b8f8eb4c954353edc038b1d, type: 2}
|
||||
m_StaticBatchInfo:
|
||||
firstSubMesh: 0
|
||||
subMeshCount: 0
|
||||
m_StaticBatchRoot: {fileID: 0}
|
||||
m_ProbeAnchor: {fileID: 0}
|
||||
m_LightProbeVolumeOverride: {fileID: 0}
|
||||
m_ScaleInLightmap: 1
|
||||
m_ReceiveGI: 1
|
||||
m_PreserveUVs: 0
|
||||
m_IgnoreNormalsForChartDetection: 0
|
||||
m_ImportantGI: 0
|
||||
m_StitchLightmapSeams: 1
|
||||
m_SelectedEditorRenderState: 3
|
||||
m_MinimumChartSize: 4
|
||||
m_AutoUVMaxDistance: 0.5
|
||||
m_AutoUVMaxAngle: 89
|
||||
m_LightmapParameters: {fileID: 0}
|
||||
m_SortingLayerID: 0
|
||||
m_SortingLayer: 0
|
||||
m_SortingOrder: 0
|
||||
m_AdditionalVertexStreams: {fileID: 0}
|
||||
--- !u!1 &7887986861182861129
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 3547307509376589031}
|
||||
- component: {fileID: 8557190970217331903}
|
||||
m_Layer: 0
|
||||
m_Name: FPP Camera
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!4 &3547307509376589031
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 7887986861182861129}
|
||||
serializedVersion: 2
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 1.75, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 7761779135599839476}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!114 &8557190970217331903
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 7887986861182861129}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: f9dfa5b682dcd46bda6128250e975f58, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
Priority:
|
||||
Enabled: 0
|
||||
m_Value: 0
|
||||
OutputChannel: 1
|
||||
StandbyUpdate: 2
|
||||
m_StreamingVersion: 20241001
|
||||
m_LegacyPriority: 0
|
||||
Target:
|
||||
TrackingTarget: {fileID: 0}
|
||||
LookAtTarget: {fileID: 0}
|
||||
CustomLookAtTarget: 0
|
||||
Lens:
|
||||
FieldOfView: 60.000004
|
||||
OrthographicSize: 5
|
||||
NearClipPlane: 0.3
|
||||
FarClipPlane: 1000
|
||||
Dutch: 0
|
||||
ModeOverride: 0
|
||||
PhysicalProperties:
|
||||
GateFit: 2
|
||||
SensorSize: {x: 21.946, y: 16.002}
|
||||
LensShift: {x: 0, y: 0}
|
||||
FocusDistance: 10
|
||||
Iso: 200
|
||||
ShutterSpeed: 0.005
|
||||
Aperture: 16
|
||||
BladeCount: 5
|
||||
Curvature: {x: 2, y: 11}
|
||||
BarrelClipping: 0.25
|
||||
Anamorphism: 0
|
||||
BlendHint: 0
|
||||
@@ -1,7 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: c5a555fd0308dc546b2a31af07869f90
|
||||
PrefabImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -1,21 +0,0 @@
|
||||
{
|
||||
"name": "RebootKit.FPPKit",
|
||||
"rootNamespace": "RebootKit.FPPKit",
|
||||
"references": [
|
||||
"GUID:284059c7949783646b281a1b815580e6",
|
||||
"GUID:f51ebe6a0ceec4240a699833d6309b23",
|
||||
"GUID:75469ad4d38634e559750d17036d5f7c",
|
||||
"GUID:4307f53044263cf4b835bd812fc161a4",
|
||||
"GUID:d8b63aba1907145bea998dd612889d6b",
|
||||
"GUID:9e24947de15b9834991c9d8411ea37cf"
|
||||
],
|
||||
"includePlatforms": [],
|
||||
"excludePlatforms": [],
|
||||
"allowUnsafeCode": false,
|
||||
"overrideReferences": false,
|
||||
"precompiledReferences": [],
|
||||
"autoReferenced": true,
|
||||
"defineConstraints": [],
|
||||
"versionDefines": [],
|
||||
"noEngineReferences": false
|
||||
}
|
||||
@@ -1,7 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 4d76b28af993d614f825cb34f438930f
|
||||
AssemblyDefinitionImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Reference in New Issue
Block a user