This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Runtime.InteropServices; | |
using Godot; | |
using Godot.Collections; | |
namespace CoACD_Godot; | |
/* Generates colliders using CoaCD - https://github.com/SarahWeiii/CoACD | |
* This is NOT a drag and drop file, but it should give you the framework you need to get started. | |
* | |
* Requires you to build the CoaCD library yourself to get the latest version. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using Godot; | |
// based on https://www.youtube.com/watch?v=KPoeNZZ6H4s | |
// written with generics because repeating code sucks | |
// rough explanation of the parameters: | |
// -------------- | |
// f is the frequency of the system, in hz | |
// things will move faster if this is high basically |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Godot; | |
// Use this class as a base for a character controller in Godot to enable stair-stepping | |
// | |
// In your character code, simply call StairStepUp() just before MoveAndSlide(), | |
// and then StairStepDown() afterward. | |
// | |
// Make sure your character collider margins are set as low as possible. | |
// Inspired by and partially based on https://github.com/JheKWall/Godot-Stair-Step-Demo | |
public partial class StairsCharacter : CharacterBody3D |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Variables used by Scriptable. | |
// These must be at the very top of the file. Do not edit. | |
// icon-color: light-gray; icon-glyph: car; | |
// 15th November | |
// Corrected KM to Miles accuracy | |
// Added extra details about Gigya API code for different countries | |
// Added battery temp to ZE50 cars | |
// Fixed a few German errors into English | |
// add your my-renault account data: |