python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Changing Character Controller Size in Unity?
I've set up a character controller and nearly perfected my scripts with it. Only problem is, when my player is crawling, I can only shrink the character controller's capsule by its height. I can't cha...
FrozX Teal
Votes: 0
Answers: 1
Raycast2D not detecting Rigidbody2D
I have a box that fires a 2D raycast forward every few seconds, and want it to detect the player's rigidbody2D. I am able to get the raycast firing (the debug draws it correctly), but for some reason ...
Phoenix
Votes: 0
Answers: 1
Flip gameObject when it goes a certain direction
I am making a 2.5D game where the player can only move up, down, right or left; no X-Axis
I have the controls set-up like this:
using UnityEngine;
public class Movement : MonoBehaviour
{
public f...
Fghjkgcfxx56u
Votes: 0
Answers: 1
How to obtain centroidal momentum matrix explicitly for momentum-based control purpose
there are useful APIs to calc centroidal momentum, like CalcSpatialMomentumInWorldAboutPoint. But for momentum-based control, I ran into some problems with this API. During control there is:
l = A(q) ...
zisangsang
Votes: 0
Answers: 0