Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
3 registered members (AndrewAMD, Ayumi, NewbieZorro), 14,141 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
normals inverted #301001
12/07/09 16:53
12/07/09 16:53
Joined: May 2008
Posts: 62
México.
F
FcoElizalde Offline OP
Junior Member
FcoElizalde  Offline OP
Junior Member
F

Joined: May 2008
Posts: 62
México.
A7 Gamestudio Pro, version7.8
Hi, when I declare the event

my.emask |= (ENABLE_IMPACT);

In the action of an entity, the normals obtained from this entity when hitted by another are inverted. Only with this event declared, all of the others work correctly, with the normal vector pointing perpendicularly away from the surface.

Sorry for the inconvenience if it was already found, but I didnt find anything on the forums regarding the issue.

Thanks.

Last edited by FcoElizalde; 12/07/09 16:56.
Re: normals inverted [Re: FcoElizalde] #301091
12/08/09 10:58
12/08/09 10:58
Joined: Jul 2000
Posts: 28,024
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,024
Frankfurt
I don't think that the normal is inverted, but I can guess a possible reason of the problem: The normal is always taken from the hit surface. That's from the entity itself, not from the other entity, and this is different to the other collision events.


Moderated by  HeelX, Spirit 

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1