Quantcast
Channel: Latest Questions by bbeckford
Browsing latest articles
Browse All 22 View Live

Making a cube crouch

I'm just getting started with Unity and I want to make sure I know the best practice for this kind of manipulation. I have a cube, when the player presses crouch I want to instantly reduce it's height...

View Article



Rolling Road with Physics

I'm trying to build a side-scrolling rolling road copter style game, think JetPack Joyride. I have it working where the character stays still, and the obstacles spawn off the screen to the right and...

View Article

2D Ragdoll

Hi all, I have searched and searched and I can't find a solution to this. I'm creating a 2D sidescroller with Unity, and I want to create a 2D character with a running animation and ragdoll physics...

View Article

Delete a Decal Projector at Runtime

I have a script on a prefab as follows: public GameObject Random1; // Use this for initialization void Start () { rigidbody.useGravity = false; rigidbody.constraints =...

View Article

Character Contoller with Ragdoll

Could someone point me in the right direction of a tutorial showing me the right way to do this? I have a character walking left to right across the screen, he is controlled by a character controller...

View Article


Spawning GameObjects with Hinge Joints

Hi everyone, I'm working on a level generator for an endless runner and I want to spawn some prefabs with hinge joints. The trouble is that when I spawn an object with a hinge joint, it retains the...

View Article

Animation Glitches in Build

Hi all, I have a character in my game that carries an umbrella and briefcase. The umbrella and briefcase are both part of the character's rig and he animates and looks great inside the editor (see...

View Article

Smooth Follow Camera that Keeps Up

Hi all, I'm working on a constant runner sidescrolling game, the player is constantly moving left to right at an ever-increasing speed, and when the player jumps he gains some extra speed for a limited...

View Article


Unity 4.5 Mac OSX Won't Compile Scripts

Hi all, I am a Unity pro subscriber, I also have iOS and Android pro. Whenever I start Unity (fresh install) on my brand new iMac (OSX 10.9.3) to work on an existing project, Unity hangs on "Compiling...

View Article


Huge memory usage textures

Hi all, I have a 3D endless runner game running on iOS, Android and Windows Phone. It works fine on Windows Phones with 1014MB memory and above, but under that it crashes as soon as it starts (see...

View Article

_malloc is not defined in Unity 2017 webGL Player

Hi all, I'm working on a webGL project and I have a function where I send a JSON array from an external javascript to the unity player. I followed the instructions [in the Unity 5.6 manual][1] using...

View Article

Camera Quaternion.RotateTowards without rolling/banking

I have a camera facing the ground and I want to pan up to look at a target object in the distance. Currently, I achieve this with the following: Vector3 dir = targetPoint - transform.position;...

View Article
Browsing latest articles
Browse All 22 View Live




Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>
<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596344.js" async> </script>