Scott Richards's Forum Posts
| Thread | Post | Date Posted |
|---|---|---|
| %collision $= "" | @ rennie: An empty string is just that. Empty. It's defined as data of type String with zero leng... read more | 08/07/2009 (10:48 am) |
| %collision $= "" | [quote]You can change local variables on the fly. If you can change global variables on the fly, I h... read more | 08/07/2009 (10:36 am) |
| %collision $= "" | (yes, % = local and $ = global when used as a prefix for variable names. Note however that that is n... read more | 08/07/2009 (10:23 am) |
| Simple Logic Problem! :-( | Yes. Use "$=" (string equality) instead of the usual "==" (numerical equality). ... read more | 07/14/2009 (8:14 am) |
| my error. | Heh. Indeed, the words look very similar. Right down to the general shape of the C and the O. They b... read more | 04/26/2009 (7:17 pm) |
| my error. | No error. Nothing w[b]ei[/b]rd. Read it more carefully: mControlObject->setControlling[b]Objec... read more | 04/26/2009 (5:10 pm) |
| new Convex Problem | [quote]...and then gets stuck in the middle of it[/quote] Well that sounds like your faces are fa... read more | 03/21/2009 (7:17 pm) |
| Problem :Creating a custom convex for collisions | "No plane possible" just means the points provided lack a 3 dimensional distribution. That... read more | 03/19/2009 (3:58 pm) |
| Walking on uneven ground | That sounds to me like an excellent approach. I wouldn't worry about the raycast performance. Two pe... read more | 03/02/2009 (10:39 am) |
| TGEA for Linux | I can't help at this point, but I will mention that I am another TGE user who will not be upgrading ... read more | 02/19/2009 (8:45 am) |
| Rotation around a world axis ( rotation two axis ) | Are you sure the result was the same? Directly from my console, I tested: [code] ==>$xrot =... read more | 02/17/2009 (8:00 am) |
| Rotation around a world axis ( rotation two axis ) | I think you simply have your rotations out of order. MatrixMultiply(X, Y) is applying an X rotation ... read more | 02/15/2009 (10:15 am) |
| Trouble with initPersistFields | The ParticleEmitterData class actually does something similar. Look for "particleString" i... read more | 02/02/2009 (5:59 pm) |
| Get the amount of light the player is standing in | Torque uses a client/server system, even in a "single player" game. In a multiplayer game ... read more | 01/18/2009 (9:04 pm) |
| Get the amount of light the player is standing in | Hmm. Are you calling getLightAmount on a CLIENT or SERVER object? Light values are only calculated o... read more | 01/18/2009 (5:31 pm) |
| Get the amount of light the player is standing in | [code] ConsoleMethod( SceneObject, getLightAmount, const char*, 2, 2, "Get object light."... read more | 01/18/2009 (4:36 pm) |
| Get the amount of light the player is standing in | Yeah.. I don't think you can return a ColorF through a ConsoleMethod. You'll probably have to build ... read more | 01/18/2009 (4:33 pm) |
| Get the amount of light the player is standing in | sceneObject.cc, I think. Look for getLightingAmbientColor... read more | 01/18/2009 (1:05 pm) |
| GameConnection and initPersistFields madness | IIRC mTestVar needs to be public if you're going to expose it to the console that way.... read more | 11/21/2008 (10:38 am) |
| Precipitation On Clients Only???? | Followup: [url]http://www.garagegames.com/mg/forums/result.thread.php?qt=80232[/url] I posted a f... read more | 10/21/2008 (5:04 pm) |
| Precipitation On Clients Only???? | [quote]there's the odd particle floating around so it's like 98% off. Is there any way to completely... read more | 10/21/2008 (9:53 am) |
| Precipitation On Clients Only???? | It seems there is a really simple solution to this.. Now, I don't have Torque 1.5, but I can tell yo... read more | 10/20/2008 (7:36 pm) |
| Syntax for using ENERGY in an equation? | If I recall correctly, "ServerConnection" will get you the client connection, from which you can fin... read more | 10/07/2008 (12:33 pm) |
| Trying to change splash particles but always too bright | Particles by default use an additive blending method in which the particle color value is added to t... read more | 07/27/2008 (7:19 pm) |
| Trigger Weirdness | I think I found your problem. (Note I'm looking at a 1.4 codebase, but I suspect this hasn't changed... read more | 06/15/2008 (7:58 am) |
| Adding Collision to a projectile | Answer: No. You don't need any of that. All you need is to add a castRay function to the Projectile ... read more | 05/21/2008 (6:43 am) |
| Running out of object id numbers | [quote]I thought doing %player.schedule (stuff) was identical to schedule (%player)?[/quote] Just... read more | 02/16/2008 (10:38 pm) |
| Running out of object id numbers | Bingo! Check out the ConsoleMethod for Player::getControlObject (player.cc, line 3691 in my version)... read more | 02/16/2008 (10:09 pm) |
| Running out of object id numbers | Also... If you echo(%player) after you create a new AIPlayer thusly [code] %player = new AIP... read more | 02/16/2008 (7:43 pm) |
| Running out of object id numbers | Hmm. This line also is worrying me.. [code]%player.EquipBot(%player);[/code] Partly because %pl... read more | 02/16/2008 (7:39 pm) |
| Running out of object id numbers | First thing that jumps out is the name of the function AIPlayer::spawn(). In this case spawn() doesn... read more | 02/16/2008 (7:22 pm) |
| Running out of object id numbers | [quote]That's when something interesting happened. You see the IF statement at the beginning of the ... read more | 02/16/2008 (6:57 pm) |
| Running out of object id numbers | A curious problem this is. It does look like the problem starts after IDs have exceeded the 1 millio... read more | 02/16/2008 (2:37 pm) |
| Running out of object id numbers | For what it's worth, I ran a quick test in my game to push IDs up past one million and saw no proble... read more | 02/16/2008 (4:48 am) |
| Running out of object id numbers | I'm not sure if I've ever run my IDs up even that high, so I don't really know what happens.. but I ... read more | 02/15/2008 (8:24 pm) |
| Running out of object id numbers | Yes, when you start doing maths in Script. But you can still [code] $bigvalue = 2123123123; echo(... read more | 02/15/2008 (7:15 pm) |
| Running out of object id numbers | I rather doubt your actually hitting the ceiling on your SimIDs. Someone correct me if my math is wr... read more | 02/15/2008 (6:45 pm) |
| Some odd matrix math(help needed) | O_o When did it become transformTo[b]World[/b]Space? Are you sure you're working with the correct fu... read more | 11/01/2007 (10:31 am) |
| Some odd matrix math(help needed) | [quote]Then why do i get the same off the wall result when i do matrixmul from torquescript with the... read more | 11/01/2007 (8:40 am) |
| Some odd matrix math(help needed) | Matrix multiplication is not communitive. I suspect you're multiplying the matrices in the wrong ord... read more | 10/31/2007 (11:11 pm) |
| Vehicle and camera angle in 3rd person view? | I haven't looked at this in a long time, but I'll hazard a guess that you both have cameraRoll=true ... read more | 10/01/2007 (2:57 pm) |
| Mouse polling | From what I can tell, the order of events looks like this: [code] -> DemoGame::main() -> Pl... read more | 05/27/2007 (12:33 pm) |
| Math Vector 2d->3d problem | [quote]Ah. "Up" in torque [positive Z] will always be negative Y on my 2d plane. If the 3d plane is ... read more | 04/27/2007 (4:11 pm) |
| Bizarre scripting bug around calling undefined functions | Oh, that's what William meant. My bad. Sorry, William. It's not quite that simple though. [co... read more | 03/09/2007 (6:41 am) |
| Bizarre scripting bug around calling undefined functions | [quote]Since you called a function "bar()" which put "true" in the return value, the "%ret = undefie... read more | 03/08/2007 (6:02 pm) |
| Bizarre scripting bug around calling undefined functions | [quote]input (0) Unable to find function undefinedFunction[/quote] There's your problem. The func... read more | 03/08/2007 (2:53 pm) |
| Problem with RigidShape and setHidden() | @Ramen: Yes, I think you're correct. Collisions too are a problem, and I think it's for the same rea... read more | 07/09/2006 (1:12 pm) |
| Problem with RigidShape and setHidden() | I think you may be correct to suspect Container::findObjects(), but I don't think it's actually the ... read more | 07/09/2006 (1:40 am) |
| Triggers and Projectiles | Yeah, same problem. castRay calls that use the indiscriminate TypeMask 0xFFFFFFFF. In player.cc, see... read more | 07/07/2006 (9:07 am) |
| Triggers and Projectiles | I've never experienced this bug, indeed I've never used the ShapeBaseImage class at all. Nevertheles... read more | 07/07/2006 (7:23 am) |