Product Chat (Early Access) / Max - Collision test - Need help please

Author
Message
Pirate Myke
Forum Support
14
Years of Service
User Offline
Joined: 31st May 2010
Location: El Dorado, California
Posted: 31st Jan 2022 12:58
I think that some of the library objects are not fully assigned.
I had one item tested that I could not change collision on in the editor. Player can walk thru it no matter the setting.
I will run thru them and identify which ones are still giving issues.
Intel(R) Core(TM) i9-10900 CPU @ 2.81GHz, 32GB RAM, Nvidia RTX 2060 super 8gb, Windows 10 Home 64bit, Screen resolution 1920 x 1080

Intel(R) Core(TM) i5-8400 CPU @ 2.81GHz, 32GB RAM, Nvidia gtx1050ti 4gb, Windows 10 Home 64bit, Screen resolution 1920 x 1080. System Passmark 3774




UNIRD12B
GameGuru TGC Backer
10
Years of Service
User Offline
Joined: 2nd May 2014
Location: Canada
Posted: 31st Jan 2022 17:18
Yep..
my bad guys are still running thru
just about everything..most walls for sure..

UNIRD12B
Let\'s actually make something happen with this one !
UltraVox
GameGuru TGC Backer
17
Years of Service
User Offline
Joined: 13th May 2007
Location: Into The Light
Posted: 31st Jan 2022 17:46
@UNIRD12B

I confirm that the enemies pass everywhere, through. But I think it comes from a problem with the navigation mesh. I posted on Github and Lee is informed.

Pirate Myke's problem is different : it is he himself who passes through.
3D Test Computer (for Max) :
Intel(R) Core(TM) i5 4460 - CPU 3.20 GHz (4 cores)
NVIDIA GeForce GTX 1060 (6 GB)
16 GB Ram - SSD Hard Drive - Windows 10 Pro 64 bit
synchromesh
Forum Support
10
Years of Service
User Offline
Joined: 24th Jan 2014
Location:
Posted: 1st Feb 2022 00:33
Ye i reported to Lee AI was running through the walls of my Warehouse model also some time back.
Some builds improved and some got worse but never solved.
The only person ever to get all his work done by "Friday" was Robinson Crusoe..
PM
Toxicclowd
6
Years of Service
User Offline
Joined: 9th Jun 2018
Location:
Posted: 5th Feb 2022 18:36
Not sure if this belongs here or not but noticed that if you add the spin behavior or the hover behavior to an object, the object loses all collision. this happens no matter what collision settings you use. I imagine it's probably the same for other behaviors as well, but only tried the spin and hover behaviors trying to make moving platforms. Maybe this is a bug, maybe not, perhaps it's just not fully implemented yet. Just wanted to see if anyone has any thoughts or more information.
UltraVox
GameGuru TGC Backer
17
Years of Service
User Offline
Joined: 13th May 2007
Location: Into The Light
Posted: 9th Feb 2022 10:57
@Toxicclowd
Thanks for raising this issue.
It's the same for me : all collisions are lost once the Spin or Hover Behaviors are assigned.
I will report it on Github.

Regards,
UltraVox
3D Test Computer (for Max) :
Intel(R) Core(TM) i5 4460 - CPU 3.20 GHz (4 cores)
NVIDIA GeForce GTX 1060 (6 GB)
16 GB Ram - SSD Hard Drive - Windows 10 Pro 64 bit
Monkey Frog
4
Years of Service
User Offline
Joined: 5th Feb 2020
Location:
Posted: 9th Feb 2022 12:57
Quote: "It's the same for me : all collisions are lost once the Spin or Hover Behaviors are assigned."


I wonder if this is like the door issue, where collision is turned off when the door is animated to open/close. Do you think that perhaps MAX is purposefully turning off collision on these objects because they are being moved?
Intel i9-10900K 5.10GHz, 64 GB RAM, Nvidia GTX 1080 ti 11GB, Windows 10 64-bit, dual monitor display
UltraVox
GameGuru TGC Backer
17
Years of Service
User Offline
Joined: 13th May 2007
Location: Into The Light
Posted: 9th Feb 2022 16:37
I will find out quickly :
https://github.com/TheGameCreators/GameGuruRepo/issues/2028
I'm going to ask Lee directly to find out if it's a bug, or a voluntary act.
Regards,
UltraVox
------------
3D Test Computer (for Max) :
Intel(R) Core(TM) i5 4460 - CPU 3.20 GHz (4 cores)
NVIDIA GeForce GTX 1060 (6 GB)
16 GB Ram - SSD Hard Drive - Windows 10 Pro 64 bit
synchromesh
Forum Support
10
Years of Service
User Offline
Joined: 24th Jan 2014
Location:
Posted: 9th Feb 2022 17:03
Quote: "I wonder if this is like the door issue, where collision is turned off when the door is animated to open/close. Do you think that perhaps MAX is purposefully turning off collision on these objects because they are being moved?"

Doors are deliberate i think. Generally so the AI or the player do not get snagged in the frantic action and there is a requested door script around that does not turn off collision but turned out not to be so good as users thought because of the points i mentioned.
No one ever really leaves.
PM
Monkey Frog
4
Years of Service
User Offline
Joined: 5th Feb 2020
Location:
Posted: 9th Feb 2022 17:29
Quote: "Doors are deliberate i think. Generally so the AI or the player do not get snagged in the frantic action and there is a requested door script around that does not turn off collision but turned out not to be so good as users thought because of the points i mentioned."


Yes, I know. I was wondering if the other was deliberate as well for perhaps similar reasons.
Intel i9-10900K 5.10GHz, 64 GB RAM, Nvidia GTX 1080 ti 11GB, Windows 10 64-bit, dual monitor display
3com
10
Years of Service
User Offline
Joined: 18th May 2014
Location: Catalonia
Posted: 9th Feb 2022 19:10
Although we are looking at the animated door opening and closing, the door itself remain in their position, due so, the door scripts usually use CollisionOff(), to let the player walk thru.
Laptop: Lenovo - Intel(R) Celeron(R) CPU 1005M @ 1.90GHz

OS: Windows 10 (64) - Ram: 4 gb - Hd: 283 gb - Video card: Intel(R) HD Graphics
cpu mark: 10396.6
2d graphics mark: 947.9
3d graphics mark: 8310.9
memory mark 2584.8
Disk mark: 1146.3
Passmark rating: 3662.4

PM
UltraVox
GameGuru TGC Backer
17
Years of Service
User Offline
Joined: 13th May 2007
Location: Into The Light
Posted: 10th Feb 2022 13:47
Doors, we don't care. Looks to me like @syncromesh produced a rotation script for the doors.
@syncromesh do you intend to propose it to TGC ? This script would be very useful to many people.

For Behaviors (recent topic introduced here), Lee asked me to post it as a bug on Github. It's done.
Regards,
UltraVox
------------
3D Test Computer (for Max) :
Intel(R) Core(TM) i5 4460 - CPU 3.20 GHz (4 cores)
NVIDIA GeForce GTX 1060 (6 GB)
16 GB Ram - SSD Hard Drive - Windows 10 Pro 64 bit
synchromesh
Forum Support
10
Years of Service
User Offline
Joined: 24th Jan 2014
Location:
Posted: 10th Feb 2022 13:55 Edited at: 10th Feb 2022 13:56
Quote: "@syncromesh do you intend to propose it to TGC ?"

Had to get permission first i did not make the script myself.
but yes its all in hand
No one ever really leaves.
PM
UltraVox
GameGuru TGC Backer
17
Years of Service
User Offline
Joined: 13th May 2007
Location: Into The Light
Posted: 10th Feb 2022 14:27
Excellent news ! Thank you @syncromesh
I feel that in a short time, TGC will offer a pack of doors... immobile
Regards,
UltraVox
------------
3D Test Computer (for Max) :
Intel(R) Core(TM) i5 4460 - CPU 3.20 GHz (4 cores)
NVIDIA GeForce GTX 1060 (6 GB)
16 GB Ram - SSD Hard Drive - Windows 10 Pro 64 bit
synchromesh
Forum Support
10
Years of Service
User Offline
Joined: 24th Jan 2014
Location:
Posted: 10th Feb 2022 18:53 Edited at: 10th Feb 2022 19:07
Quote: "I feel that in a short time, TGC will offer a pack of doors"

Using it myself now on a demo ... works really well
No one ever really leaves.
PM
UltraVox
GameGuru TGC Backer
17
Years of Service
User Offline
Joined: 13th May 2007
Location: Into The Light
Posted: 11th Feb 2022 16:17
Can't wait to use it for the first time.
In the meantime, I must find doors.
Regards,
UltraVox
------------
3D Test Computer (for Max) :
Intel(R) Core(TM) i5 4460 - CPU 3.20 GHz (4 cores)
NVIDIA GeForce GTX 1060 (6 GB)
16 GB Ram - SSD Hard Drive - Windows 10 Pro 64 bit
GubbyBlips
5
Years of Service
User Offline
Joined: 14th Jan 2019
Location:
Posted: 13th Feb 2022 01:01
@Ultra;
Wordle much?
You famous now.
PM
UltraVox
GameGuru TGC Backer
17
Years of Service
User Offline
Joined: 13th May 2007
Location: Into The Light
Posted: 13th Feb 2022 10:33
More than you imagine !
My player name is Mk Ultra : https://en.wikipedia.org/wiki/Project_MKUltra
Regards,
UltraVox
------------
3D Test Computer (for Max) :
Intel(R) Core(TM) i5 4460 - CPU 3.20 GHz (4 cores)
NVIDIA GeForce GTX 1060 (6 GB)
16 GB Ram - SSD Hard Drive - Windows 10 Pro 64 bit
mikeven
12
Years of Service
User Offline
Joined: 31st Dec 2011
Location:
Posted: 16th Feb 2022 11:42
Hello,

Toxiccloud posted this comment :

Quote: "
Not sure if this belongs here or not but noticed that if you add the spin behavior or the hover behavior to an object, the object loses all collision. this happens no matter what collision settings you use. I imagine it's probably the same for other behaviors as well, but only tried the spin and hover behaviors trying to make moving platforms. Maybe this is a bug, maybe not, perhaps it's just not fully implemented yet. Just wanted to see if anyone has any thoughts or more information.
"


It is not too difficult to modify the behavior "hover.lua" which contains a nice trigonometric formula to create that back-and-forth motion on the vertical axis.
If you examine that behavior you can see that "Collision" and "Gravity" are disabled in the "function init" section of its script.

To convert that behavior into a new one being able to control a moving platform it just takes a few minutes.
Here is a modified version of that behavior ( it is just an idea and it could surely be improved) :



What was modified ?

The deactivation of the "Collision" and of the "Gravity" are inserted in the "function main" section of the script before the lines of code controlling the vertical motion.
After the execution of the motion ( I think that this process could be evaluated in microseconds) the "Collision" and the "Gravity" are reactivated.
In this way the player or any object having its "Physics on" parameter enabled will collide in real time with the object to which that modified "hover" behavior is applied.

In that modified version of the script I also changed the speed and height of the motion ( done fast, it is just to give an idea that could inspire you for a better script).

That modified behavior was successfully tested on an object (an imported mesh) for which I forced the combination "Physics on" with Collision Shape "Polygon" (*) to transform it into a moving platform/elevator.
(*) Surprisingly it is possible to cheat with the settings in the parameters of the "Object Tools".



PM
Monkey Frog
4
Years of Service
User Offline
Joined: 5th Feb 2020
Location:
Posted: 16th Feb 2022 15:47
Quote: "If you examine that behavior you can see that "Collision" and "Gravity" are disabled in the "function init" section of its script."


What did I say?

Quote: "I wonder if this is like the door issue, where collision is turned off when the door is animated to open/close. Do you think that perhaps MAX is purposefully turning off collision on these objects because they are being moved?"


So, this is not a bug, but by design because of worries of a player getting caught somewhere when used (or some such).
Intel i9-10900K 5.10GHz, 64 GB RAM, Nvidia GTX 1080 ti 11GB, Windows 10 64-bit, dual monitor display
mikeven
12
Years of Service
User Offline
Joined: 31st Dec 2011
Location:
Posted: 16th Feb 2022 18:09 Edited at: 16th Feb 2022 18:09
Here is a short video demonstrating a modified version of the behavior "hover" applied on two imported items : the first one is a platform with walls and the second one is a platform having no walls.
You'll notice that the soldier staying in the platform with walls doesn't shoot on the player because the collision's process works properly between that character and the platform.

This is the link to that video (sound included) (length : 60 seconds, size : 107 MBytes) :
PM
mikeven
12
Years of Service
User Offline
Joined: 31st Dec 2011
Location:
Posted: 22nd Feb 2022 20:53
A new experiment : combining collisions with the behavior "Patrol" is possible as shown in this short video clip ( 17 MBytes = 13 seconds ) published on Vimeo :


PM

Login to post a reply

Server time is: 2024-12-22 05:19:34
Your offset time is: 2024-12-22 05:19:34