Commit Graph

19 Commits

Author SHA1 Message Date
2c21749c21 Add recovery scene and Pump/Upper objects with physics configurations
- Introduce `0.unity` recovery scene for testing and backup purposes.
- Add `Pump` GameObject with components including Rigidbody, CapsuleCollider, and MeshRenderer for physics interactions.
- Add `Upper` GameObject with a Transform component for hierarchical relationships.
- Configure physics parameters such as damping, constraints, and Rigidbody properties.
- Update object layers, tags, and rendering configurations for improved scene setup.
2025-10-26 13:23:46 +01:00
40a90158aa Remove TestScript and unused game objects, refine UI styling
- Delete `TestScript` and associated components no longer in use.
- Refactor `DebugUi` with a generalized labeling system to streamline UI updates and scalability.
- Replace inline UI styles in `UI Document` with external USS file for cleaner and maintainable styling.
- Update `SampleScene` configurations to align with these changes and remove redundant object references.
2025-10-21 20:40:45 +02:00
abf99c36d9 Enhance jump damping logic and refine angular damping controls
- Add `jumpingAngularDamping` parameter to modify Rigidbody damping during jump states in `TestScript2`.
- Store and restore original angular damping for seamless transitions between jump and non-jump states.
- Update `SampleScene` with `jumpingAngularDamping` configuration to align with the new logic.
2025-10-19 19:40:47 +02:00
830ffb6b2f Refactor jump mechanics and timer logic
- Replace `_upJumpQueued`, `_jumpInputBuffer`, and redundant joint drive logic with streamlined `_jumpTimer`, `_jumpTimerMilliseconds`, and `_jumpTimerFinished`.
- Improve jump handling by introducing `_shouldJump` and `_canJump` with timer-based reset.
- Remove unused joint configuration and redundant variables for cleaner implementation.
- Update `SampleScene` with new jump parameters for better tuning.
2025-10-19 19:18:26 +02:00
11ffb2e7e2 Update physics material properties and scene configurations
- Adjust physics material parameters, friction settings, and dynamic properties for better object interactions.
- Update scene configurations to align with material changes and optimize physics behavior.
2025-10-19 11:57:44 +02:00
7979b5d66d Add 0Friction and 100Friction materials with scene adjustments
- Introduce `0Friction` and `100Friction` physics materials for improved control over object interactions.
- Update `SampleScene` with modified Rigidbody and physics properties, including mass, damping, and material assignments.
- Replace outdated mesh references and add new `CapsuleCollider` for the `Pump` object.
- Adjust object layers, transforms, and configurable joint parameters for enhanced physics behavior.
2025-10-19 00:46:06 +02:00
db68e40251 Add ZeroFriction material and Pump object to scene
- Introduce `ZeroFriction` physics material for use in the scene.
- Add `Pump` GameObject with various components, including Rigidbody, CapsuleCollider, and MeshRenderer.
- Add configurable joint connecting `Upper` object and `Pump`.
- Update `SampleScene` with new objects and configurations for physics interactions.
2025-10-15 19:59:56 +02:00
cf3dd47948 Add Green and Red materials with scene adjustments
- Introduce `Green.mat` and `Red.mat` materials for use in the scene.
- Update `SampleScene` to include new materials and adjust Cinemachine camera configuration.
- Minor position and rotation adjustments for objects in the scene.
2025-10-14 19:35:25 +02:00
6e9e6ecec7 Refine jump logic and add difference tracking
- Introduce `_shouldJump` and `_previousDifference` for smoother jump control.
- Add `_initDifference` to reset difference tracking after each jump.
- Refactor jump mechanics into a dedicated `Jump` method.
- Adjust physics raycast distance for better collision detection.
- Enhance `DebugUi` with updated difference and velocity tracking.
2025-10-14 18:15:01 +02:00
030db997f8 Extend DebugUi to display upward speed
- Add `upSpeedLabel` in UI Document.
- Update `DebugUi` to handle and display upward speed values.
- Introduce `UpdateUpSpeed` method for updating `upSpeedLabel` text.
2025-10-14 17:14:09 +02:00
021d01fbb1 Integrate Cinemachine and enhance debug capabilities
- Add Cinemachine package (v3.1.4) and configure related components (e.g., CinemachineBrain, CinemachineCamera, CinemachineFollow).
- Update scene with new Cinemachine virtual camera for improved camera behaviors and tracking.
- Extend `DebugUi` to display grounded status and added supporting logic in `TestScript`.
- Refine physics logic in `TestScript` with grounded checks and updated jump action conditions.
- Minor adjustments to Rigidbody angular damping and ForceMode values.
2025-10-13 18:49:31 +02:00
600eb169f6 Update scene physics and mesh references
- Adjust local positions, scales, and center of mass for accurate physics interactions.
- Replace outdated mesh coordinates and references with updated versions.
- Update implicit and center of mass physics configurations for several objects.
2025-10-11 14:01:07 +02:00
04d419d6aa Add Debug UI integration and update TestScript interaction logic
- Implement `DebugUi` component for updating and displaying debug information.
- Configure new UI Toolkit assets, including `PanelSettings` and `UIDocument`.
- Update TestScript to support dynamic ForceMode, velocity, and difference tracking with debug UI.
- Minor adjustments to Rigidbody torque and interaction parameters.
2025-10-11 00:41:23 +02:00
cac112a79c Add center of mass visualization and update mesh references
- Implement `VisualiseCenterOfMass` script to draw gizmos for Rigidbody center of mass.
- Replace mesh references with updated versions in the scene.
- Adjust physics settings including center of mass and implicit settings.
2025-10-07 21:07:27 +02:00
45abacddb3 upper as the center of physics interactions 2025-10-06 20:10:29 +02:00
c91fc398e0 Adjust physics properties and implement configurable ForceMode in TestScript 2025-10-05 19:20:18 +02:00
e5321b1671 Add initial UI Toolkit setup and schemas 2025-10-04 18:32:09 +02:00
0118860a6f Integrate Input System with movement and attack actions 2025-10-03 19:25:33 +02:00
e351b8a52e first commit 2025-09-30 19:02:22 +02:00