Questions tagged [torque]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
46 views

Framerate limited by lack of mouse movement? [closed]

Using Torque, it appears that the program is running at around 25fps when the mouse is still, but as long as I keep the mouse moving, the framerate can hit well over 300fps. What in the world would ...
0
votes
1answer
30 views

ForceMode in AddTorque in Unity game development

In UNITY game development platform while programming in C# I came across a method to add torque to component: public void AddTorque(float x, float y, float z, ForceMode mode = ForceMode.Force); In ...
3
votes
3answers
165 views

Javelin throw projectile motion

I am trying to simulate throw of javelin using projectile motion. The basic physics of projectile motion of a point was used to position the javelin. For the rotation part, I just assumed that the ...
0
votes
1answer
68 views

Unable to rotate a 2D object, wanting to move it like a ball/wheel

I'm using Unity2D. I have a very basic 2D space with a platform, a ball and 2D physics. Physics is being applied and ball sits on top of the platform. However, it will not spin. Below is the ...
0
votes
0answers
36 views

Torque Generation

I have written a basic physics engine. It is able to handle rotations. But how do I handle case like this where an object sits on top of another and needs to rotate due to the effect of gravity ? I ...
2
votes
2answers
925 views

How to count rotations or spins when using addtorque?

I have a rigidbody and use 4 keys to addtorque in 4 different directions: W adds torque positively along the X axis (pitch forward) S adds torque negatively along the X axis (pitch backward) A adds ...
4
votes
1answer
982 views

How to simulate car drivetrain (in Unity)?

One of my hobby projects involves cars. Up until now I had a quick and dirty "one class" implementation of engine+gearbox+wheels, but I thought that this is ugly, and I want to go a bit more realistic....
1
vote
0answers
171 views

How to apply specific torque to configurable joint in Unity

I have a torque vector that needs to be applied to a configurable joint connecting two rigid bodies. This joint configured in such a way, that it only allows angular motion around all 3 axes. Is ...
1
vote
1answer
102 views

Bullet Physics Applying Torques Effects not noticeable

I am applying torques to a rag doll in order to make it move/walk. For some reason, I am unable to view any effects when I use a call to rigidbody to apply torques even though these torques are ...
2
votes
0answers
192 views

Game Physics: Calculating a collision response using the Separating Axis Theorem?

I am working on a project in which I have implemented the Separating Axis Theorem to detect collisions between objects. My current collision response is an object that contains whether it is ...
4
votes
2answers
1k views

How do I set angular velocity/torque so that it's pointing to velocity/direction?

Right now, when I spawn a shootable object, it goes like this: Because I just set it's angle to this: ...
0
votes
1answer
145 views

Kinematic equations script fail

I added the kinematic equations to my code and now none of it works. I get the error rigidbody.torque assign attempt for 'Enemy' is not valid. Input torque is { 0.000000, NaN, 0.000000 }. ...
1
vote
1answer
230 views

Moving from HeroEngine to Unity/Torque 3D

Short background: small team with some financial back-up from investors, yet no multi-billion-$ enterprise, working on an MMORPG for PC. HeroEngine looks like the perfect solution. Everything ...
3
votes
2answers
548 views

2D Physics: What happens with torque when center of mass changes?

Novice programmer and explorer of simple 2D physics, here. I have a simple 2D object made up of two rigid bodies connected at a fixed joint. The two rigid objects can rotate freely about that fixed ...
3
votes
2answers
1k views

Applying Angular Acceleration in a Basic Physics Model

I'm attempting to use a basic physics system to create an arcade flight model. So far I have managed to get the aircraft moving forward, apply gravity, etc. However, after trying to implement torque I ...
0
votes
1answer
33 views

Torque2D default t2dTileMap object

When I start a blank project I have noticed that I get one t2dSceneGraph and one t2dTileMap (under the project tab). I selected ...
0
votes
1answer
65 views

Torque2D createTileLayer

The script reference "manual" is not much of a help. When I look up createTileLayer(tileCountX/tileCountY/tileSizeX/tileSizeY) it doesn't say more than it creates a ...
2
votes
2answers
3k views

c++ How to use angular velocity that derived from inertia and force(torque) in 3d

I am relatively new to game development. May my terminology and description are not appropriate. Please excuse my poor phrasing and help me by giving advice on how to question better if this question ...
2
votes
1answer
142 views

Torque2D, Class vs Datablock

I'm scripting my first game with Torque2D and have not fully understood the difference between "Class" and Datablock. To me it seems like ...
1
vote
1answer
44 views

Crash when using datablocks

I have really throughly searched the net and could not find any solution for this so I ask for help here. Anyway, I have this datablock in datablocks.cs: ...
0
votes
4answers
4k views

Which tool can convert a Torque .dts file? [closed]

Into a more common 3D model format such as 3ds, max, or obj. I know that it is possible (someone did it for me but won't tell me how). There's a tool called Shaper that looks like it could do it but I'...
-5
votes
1answer
511 views

How to create a camera hack for a Torque 2D game?

first I’m not programmer, I’ve been using a popular game for some time and I think it would make a great medium for machinima. Problem is that it’s a top down view startegy game and it doesn’t give ...
8
votes
3answers
1k views

What has your experience been with Torque products? [closed]

I'm most interested in your experience with Torque-X, the Managed XNA version of their engine. How did it perform in your use case? (also info on your use, would be helpful) What was the usability ...
8
votes
4answers
2k views

Which for basic RTS prototype: Unity or Torque? [closed]

I'm wanting to test my hand at writing an RTS (something I've never gotten very far with), and so I'm looking for an indie engine that would give me the most success with a quick setup that I can then ...