Hi guys,
Today we have published a new update for 2018.1 version.
Main improvements are following:
CUBE OBJECTS CACHE
We have implemented a "geometry cache" for CubeObjects that makes possible to have hardware instancing of cubeObjects having the same dimensions, improving A LOT the drawing performances.
This makes cubeObjects to be really "usable", in the sense that now they are treated just as all other static objects (meshObjects).
The following is an image BEFORE cubeObject "geometry cache", showing many stacked cubeObjects to form a building structure:

If you zoom the image you can see the superimposed profiling text "FPS: 20.0000" on top of the image.
The following image is AFTER cubeObject "geometry cache" implementation:

If you zoom the image you can see the superimposed profiling text "FPS: 60.0000" on top of the image.
A really great performance improvement
IMPROVED COLLISION TESTS
In particular Characters collision tests (CharacterCollisionTest and CharacterIsOnGround Game Machine actions).
Usually characters collided with a capsule collision shape, this capsule has a "padding" used for avoiding possible round-off errors.
The drawback is that this "padding" isn't used when performing the "sweep tests" used in CharacterCollisionTest and CharacterIsOnGround Game Machine actions.
This causes sometimes "false positive", in the sense that the Sweep Test fails
while the capsule continues to collide, traducing in CharacterIsOnGround returning FALSE (the character is still in air) while character is really just colliding with ground.
WHAT IS THE SOLUTION?
the solution is to give a "padding" also to the Sweep Test, the same padding you have used for the character capsule.
This is why we have introduced a "skinWidth" parameter into the character class and a "padding" parameter into "CharacterIsOnGround" and "CharacterCollisionTest" actions.
IMPROVED PHYSICS TRIGGERS
Apart from some bugs affecting the 2018.1.10 version, now triggers perfectly report the lists of objects inside and objects exiting from. Reports can be easily catched by GameMachine.
IMPROVED MOVING PLATFORMS
By introducing the aforementioned "skinWidth" parameter to character class, by improving the physics triggers and finally introducing some new action we have also improved the possibility to create moving platform using Game Machine just introduced into 2018.1.10 version.
Now platforms are more stable also at low framerates.
RELEASE NOTES
Following is the complete list of improvements and bugfixes:
- BUGFIX: phyCollisionTest doesn't work with capsule local coords
- BUGFIX: When adding collision shapes to a meshObject or trying to check/uncheck trigger flag the collsion does not work
- BUGFIX: When Trying to transform a collision shape of a meshObject it is strangely deformed
- BUGFIX: Crash when disabling a material layer and then click UNDO
- Added parameter "layer" to CollisionTestAction
- Added parameter "SkinWidth" to Character and derived (PlayerCharacter) object classes
- Added parameter "padding" to CharacterIsOnGround and PhyCharacterCollisionTest actions
- Added "PhyKinematicDisplace" action in GameMachine
- Added "Scale" action
- Added "outputExitingObjects" parameter to "GetTriggerInfo" action that return the list of objects interacting with the trigger
- Added parameter "vertical" to "GetObjectSpeed" action
- Now Publish dialog does a check for finding the first scene available for the current project if it has not been stored before or the stored scene isn't inside the current project
- Now "SetCharacterGravity" action can have more than one character as input
- Now "S2PhyApplyForceToObjectAction" action can have more than one physics object as input
- Now show/hide of an object in Objects Outliner doesn't affect the game visibility of the object
- Now if you hide an object from Outliner it is not pickable from sceneViewport
- Now "Rotate", "Translate" and "Scale" actions can have more than one object as input
- Implemented a cache for speeding-up cubeObjects drawing
- Redesigned PublishDialog using new interface controls
- Improved SceneViewport grid drawing
- REMOVED "reportInside", "reportEnter" and "reportExit" parameters from "GetTriggerInfo" action
Hoping you appreciate,
PROFENIX STUDIO
