• Create Account

# Normalized

Member Since 18 Oct 2011
Offline Last Active Private

### Inertia Tensor magnitude to find Angular Acceleration

26 December 2015 - 02:15 AM

I am using unity 3d and rolling my own semi physical vehicle physics.

Is taking the Inertia Tensor magnitude a legitimate way to find angularAcceleration?

Vector3 angularAcceleration = torque / myRigidbody.inertiaTensor.magnitude;

### Matching rotations between cameras with different FOV

13 November 2013 - 09:42 PM

I render my sky box with a separate camera with a field of view of 60 degrees. The rest of the game is rendered with a separate camera with a variable field of view with can be as low as 2 degrees.

The problem is that the amount of rotation needed make the sky box matchup with the lower field of view camera's  rotation is different. For example say you want to aim at a cloud with mouse look. The amount of rotation you need to apply to the skybox camera is not equivalent to the amount applied to the camera with the lower FOV.

Any ideas?

### Best networking architecture of this game type

20 January 2012 - 08:28 PM

I am working on a hybrid RTS / third person shooter.

Up to 10 players 5 vs. 5

Each player can control up to 12 physics based vehicles and 132 kinematic infantry. Most like alot less.

I need to pick the architecture

a: trusted client with checking
b: authoritative server
c: P2P full synchronized.

I know most RTS game are full synchronized however, I do not think this will work well for me due to the physics I use etc may not be deterministic. Some of my physics including damage physics and AI may not be lightweight.

Thanks.

### Is there a better way to do this?

15 January 2012 - 01:46 PM

I have been working on trying to get an implementation of reciprocal obstacle avoidance working.

I need to find the point tangent to a circle from the origin (0,0). I know how to do this using two circles kind of like the diagram below. I was planning to us the quadratic equation to find the two tangents points.
http://www.nvcc.edu/home/tstreilein/constructions/Circle/circle5.htm
I need both tangent points
I know
1: circle center
3: And that the tangent points must pass through the origin (0,0).
I have not used much trig in many years. Is there a better trigonometry based way? I know how to find the lengths of all sides and the interior angles. But not how to find the tangent points.

### What is a clockwise ordering

13 December 2011 - 01:47 AM

I have three unordered points and I want to find the normal. I need to get them into a clockwise ordering because I use a left hand coordinate system

My question is what is a clockwise ordering. How do you know if one point is more clockwise then another point?

I know what it looks like in my head but I wonder what is a good algorithm? All my point will be in quadrant 1. I also know the points are not collinear .

PARTNERS