Azaezel
9bed39b7d0
logical inversion to stock functionality as requested. Now assumes if it has a target and does not hit anything Static by the time the ray terminates, then it must be the right target.
2014-07-11 07:47:31 -05:00
Azaezel
ae55ad2b50
revised checkInLos and CheckFoV. boith now take all parameters as optional as suggested, with a target value of NULL resulting in checking the present one.
...
cleaned up internal usage of checkInLos, tightened the typemask used, and provided further documentation.
2014-07-11 06:58:19 -05:00
Daniel Buckmaster
439192f88d
Merge pull request #645 from Azaezel/ridgidshape_updateForces
...
Ridgidshape update forces
2014-07-08 14:15:19 +02:00
Daniel Buckmaster
3f687d8f43
Make use of PlayerData::swimForce
2014-07-01 18:14:08 +02:00
bank
e442b87c0c
Fix: Null'ed pointer usage, possible access violation.
...
This fixes issue #700
2014-06-18 11:38:29 +04:00
Daniel Buckmaster
feec36731e
Merge pull request #594 from LuisAntonRebollo/unit-tests-without-crash
...
Increased stability Torque3D: unit-tests running without a crash.
2014-06-16 10:57:04 +10:00
bank
f3fc84738b
Use fixed buffer size var when allocating return buffer from console.
...
Conflicts:
Engine/source/T3D/missionArea.cpp
Engine/source/gui/editor/guiDebugger.cpp
2014-06-11 13:09:55 +04:00
rextimmy
8f550d5f8c
Changed method of releasing a physics body with physx 2.8
2014-06-10 21:27:17 +10:00
rextimmy
1ca3190994
Removed old px3Cast
2014-06-07 12:23:12 +10:00
rextimmy
87ba9a7084
code cleanup
2014-06-07 12:11:44 +10:00
rextimmy
d58a69e76c
Merge remote-tracking branch 'GarageGames/development' into physx3_basic
2014-06-06 22:40:14 +10:00
Azaezel
11ac92accc
adds the name of the sequence just completed for simple FSMs and the like. example usage:
...
function shapeBaseData::onEndSequence(%this, %obj, %slot, %name)
{
%script = "on" @ %name;
if(%this.isMethod(%script))
%this.call(%script, %obj);
}
function fooData::onDeploy(%this,%obj)
{
error("fooData::onDeploy" SPC %this SPC %obj);
}
2014-05-30 22:49:17 -05:00
LuisAntonRebollo
18ba0646c0
Increased stability Torqu3D: unit-tests running without a crash. See the console.log after ran unitTest_runTests( "", true ). @signmotion
2014-05-25 16:50:19 +02:00
Thomas Fischer
cd978039ac
Merge pull request #635 from just-bank/engine-fixes
...
Various engine fixes
2014-05-23 14:09:00 +02:00
LuisAntonRebollo
c950ca2c77
Merge pull request #647 from Azaezel/debris_collision
...
Debris collision
2014-05-16 01:02:59 +02:00
LuisAntonRebollo
6f673e624d
Merge pull request #641 from Azaezel/projectile_decal
...
Projectile decal
2014-05-16 00:27:42 +02:00
Azaezel
8aebb67aa1
conforms losmask to standard nomenclature
2014-05-13 22:45:25 -05:00
Azaezel
9342115b1e
helper functions for AI: testing if an object is in line of sight (and optionally if it's enabled), if a point is clear, and if an object is within a given angular field of view (optionally specified beyond a stock 45 degrees, as well as optionally checking if the target is enabled)
2014-05-13 19:53:00 -05:00
Azaezel
4e203f21b3
debris collision mask expanded so that it also hits buildings and the like.
2014-05-13 17:40:25 -05:00
Azaezel
a73a4a84f1
followup to https://github.com/GarageGames/Torque3D/issues/393
2014-05-13 17:24:28 -05:00
bank
75755e42c0
Rename all member variables to follow the style guidelines (prefixed with the 'm') - class TSStaticPolysoupConvex
2014-05-13 16:15:36 +04:00
bank
69dbaf5b85
Rename all member variables to follow the style guidelines (prefixed with the 'm') - class TSShape
2014-05-13 14:08:42 +04:00
Azaezel
a33e500b8d
alters projectile decal application so that it picks a random rotAroundNormal when adding it to a scene. (keeps em from always pointing north or up)
2014-05-12 16:37:25 -05:00
Daniel Buckmaster
47dbce1499
Merge pull request #632 from eightyeight/better-explosion-example
...
Added a better example of using Explosion in a client/server fashion
2014-05-11 13:22:28 +10:00
Daniel Buckmaster
1702573b78
Merge pull request #612 from GarageGames/platform-type-consistency
...
Platform type consistency
2014-05-10 11:40:40 +10:00
Andrew Mac
704dc47bdb
Merge pull request #602 from Azaezel/Simpler_ShapeBase1
...
removes non-functional shield and invincibility functionality.
2014-05-08 23:39:33 -03:00
bank
a7756b5591
Renamed local variable so it doesn't interfere with the provided argument.
...
String errorStr should be filled in only when ::preload returns false.
2014-05-06 15:35:52 +04:00
bank
e7fb6a54de
Fix: Added missing virtual destructors for classes with virtual functions.
2014-05-06 12:40:46 +04:00
bank
68b12981ae
Fix: dSprintf should receive size of the buffer, not the size of the pointer.
...
It was safe, as we are using static console return buffer,
which is large enough to hold enough data (default is 2048).
2014-05-06 12:40:45 +04:00
bank
9f2d44966e
Fix: Some compilers do not auto-cast String and Path classes to (char *).
2014-05-06 12:40:43 +04:00
bank
b2e6895554
Fix: preload() method on datablocks should always set errorStr when returning false.
...
Otherwise it will dump the previous error message (content of the errorStr).
2014-05-06 12:40:40 +04:00
Daniel Buckmaster
46c9122432
Added a better example of using Explosion in a client/server fashion.
2014-04-25 13:04:12 +10:00
Daniel Buckmaster
43895090fa
Merge branch 'RenderMeshExampleMatFix' into development for PR #631
2014-04-25 12:57:00 +10:00
Kyrah Abattoir
d56952eaea
FIX RenderMeshExample not having a material on mission start even if one was assigned to it in the mission file.
2014-04-25 00:39:20 +02:00
LuisAntonRebollo
33742599b3
Use GFXDevice::setupGenericShaders for support non Fixed Fuction Pipelines.
...
OpenGL and DirectX11 not support FFP, and GFDevice::disableShaders has not the necessary information to decide the shader to be used.
GFDevice::SetupGenericShaders is used instead of GFDevice::disableShaders.
GFDevice::disableShaders will be deprecated on T3D 4.0
2014-04-13 17:57:40 +02:00
Azaezel
8d90558279
removes non-functional shield and invincibility functionality.
2014-04-07 16:11:32 -05:00
Daniel Buckmaster
87d9e245b7
Merge remote-tracking branch 'smally/platform_type_consistency' into platform-type-consistency
...
Conflicts:
Engine/source/platform/platformCPUCount.cpp
2014-04-04 13:43:25 +11:00
Thomas Fischer
29d7fe310d
Merge pull request #583 from tdev/x64_basics
...
windows 64 bit basics
2014-03-18 00:51:58 +01:00
Thomas Fischer
7239c791f2
Merge pull request #581 from tdev/vs2012_fixes
...
Visual Studio 2012 32Bit Level 4 Warning fixes
2014-03-17 10:02:19 +01:00
Thomas Fischer
8529d4450b
Merge pull request #546 from asmaloney/minor_cleanup
...
Minor cleanups
2014-03-15 15:20:23 +01:00
Thomas Fischer
022b15720b
Merge pull request #548 from asmaloney/more_fixes
...
More fixes
2014-03-15 15:14:11 +01:00
Thomas Fischer
6d8e0d7e25
refactored platform precompiler variable: TORQUE_OS_WIN{32,64,}
2014-03-15 15:10:14 +01:00
Thomas Fischer
502e346eb6
visual studio 2012 Level 4 warning fixes
2014-03-15 11:38:53 +01:00
Thomas Fischer
835649aa2f
Merge pull request #547 from asmaloney/fix_potential_crashes
...
Fix potential crashes
2014-03-15 10:57:21 +01:00
rextimmy
d4b189e175
PhysX3 basic plugin.
2014-02-28 12:11:26 +10:00
David Wyand
d218b007a3
Merge pull request #573 from DavidWyand-GG/TriggerFix
...
Revert trigger polyhedron change
2014-02-14 00:31:26 -05:00
DavidWyand-GG
5f6d189d4e
Revert trigger polyhedron change
...
Reverts the change made in
https://github.com/GarageGames/Torque3D/pull/511 . See
http://www.garagegames.com/community/forums/viewthread/136033 for the
discussion.
2014-02-14 00:27:29 -05:00
DavidWyand-GG
cff2ab046a
Bullet physics applyImpulse() fix
...
Bullet physics requires a local origin be passed into it's
applyImpulse() rather than a world origin.
2014-02-09 18:10:53 -05:00
Andrey Syrokomsky
e47402246d
Fixed a chaotic crash when indices or vertices of decals exceeds the fixed limits. Have an attempt work with the many (kilo)meters of decals.
2014-01-23 12:59:47 +02:00
Andy Maloney
d63b820e35
More fixes
...
- check for an empty shapName, not just a NULL one twice
- fix "&s" in printf
- fix potential memory leak
- GFXCopyPixels wasn't checking the height properly which could result in some meory corruption unpleasantness
2013-12-04 16:56:26 -05:00