Giter Club home page Giter Club logo

componentfusemechanic's Introduction

Component Fuse Mechanic

Overview

This repo features an actor component that adds a "fuse" mechanic to the player, inspired by the Ultrahand mechanic in The Legend of Zelda: Tears of the Kingdom. This is not a production-ready system, and was developed as more of a programming exercise and experiment with Chaos.

The project is developed in Unreal Engine 5.2, meaning that is the earliest version it supports. This decision was made due to some stability improvements for Chaos physics introduced in 5.2, but the code should work fine in earlier versions.

The following mechanics are included:

  • Pick up and translate/rotate objects in the world by rounded values, relative to the player.
  • Draw orthographic projections of grabbed fusible objects (uses 3 scene captures + render targets, not ideal)
  • Search through sockets on meshes that contain "Attach" in the name, and find the closest sockets between two objects as well as supplementary sockets that would be very close.
  • Detect potential clipping issues and prevent constraints that would cause them.
  • Snap objects together at the socket and constrain them at the closest sockets, and the supplementary sockets, with a physics-based interp.
  • Detach objects from other "fused" objects (rudimentary)

Video Showcase

ProjectClip

Keybind Action
Right Mouse Button Enter searching mode
F Pick up targeted fusible/try fuse grabbed fusible
Mouse Wheel Adjust grabbed fusible target XY distance
Arrow keys Rotate grabbed fusible
Q Break constraints on grabbed fusible
R Interact with interactable objects.
Asset Source
Props Evelyn Schwab
Character Epic Games, third person template
Movement anims Caleb Longmire, ALS

Use f.showdebugfuser 1 to draw debug information (including detected fuse operations)

componentfusemechanic's People

Contributors

evelynschwab avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.