Skip to content

Instantly share code, notes, and snippets.

View kkolyan's full-sized avatar

Nikolay Plekhanov kkolyan

  • Bulgaria, Sofia
View GitHub Profile
use std::cmp::min;
use std::f32::consts::PI;
use std::ops::{Deref, DerefMut};
use godot::prelude::*;
use godot::engine::{CharacterBody3D, CharacterBody3DVirtual, CollisionShape3D, Engine, PhysicsDirectSpaceState3D, PhysicsServer3D, PhysicsShapeQueryParameters3D};
#[derive(GodotClass)]
#[class(base = Resource, init)]
pub struct UnifiedCharacterConfig {
#[init(default = 0.5)]
use std::any::Any;
use std::borrow::Cow;
use std::path::{Path, PathBuf};
use fyrox::asset::loader::{BoxedLoaderFuture, ResourceLoader};
use fyrox::asset::ResourceData;
use fyrox::asset::untyped::UntypedResource;
use fyrox::core::reflect::prelude::*;
use fyrox::core::{io, TypeUuidProvider};
use fyrox::core::uuid::{Uuid, uuid};
use fyrox::core::visitor::prelude::*;