Strange visual glitch maybe? Help me please
by Jason Davis · in Torque Game Engine · 08/09/2006 (7:32 am) · 7 replies
I don't even know how to catagorize this strange problem, so here's a new post about it. I have a mounted weapon on the player in first person view (an axe), but when I walk closely to a wall while facing that wall, the axe suddenly is farther away from the player!!! To illustrate, I have a window in a wall which is made up of a transparent DTS object. When I walk up to the window and look around, suddenly the weapon is OUTSIDE the window!!! I've included a video to illustrate this so you guys won't think I'm crazy:
http://www.doubleedgesoftware.com/downloads/weapon_problem.wmv
Can anyone tell me if this is some weird glitch in the engine code or if I'm doing something wrong? Appreciation in advance!!!
- Jason
http://www.doubleedgesoftware.com/downloads/weapon_problem.wmv
Can anyone tell me if this is some weird glitch in the engine code or if I'm doing something wrong? Appreciation in advance!!!
- Jason
#2
This just in: It seems that the weapon only looks like it is farther away when I walk up close to a transparent DTS object. Before, I thought that it was any wall... but I think I was wrong.
I know this is not a huge problem to have to deal with, but it would be nice to have it fixed. Still open to suggestions....
- Jason
08/10/2006 (3:12 pm)
I do not have a collision mesh on the model. My understanding of Torque is that weapons do not need collision meshes.This just in: It seems that the weapon only looks like it is farther away when I walk up close to a transparent DTS object. Before, I thought that it was any wall... but I think I was wrong.
I know this is not a huge problem to have to deal with, but it would be nice to have it fixed. Still open to suggestions....
- Jason
#3
08/10/2006 (3:15 pm)
What is the window a dts or dif?
#4
- Jason
08/10/2006 (3:47 pm)
Michael:Quote:To illustrate, I have a window in a wall which is made up of a transparent DTS object.
- Jason
#5
Having looked at the wmv file, it would appear that the weapon seems to be further away because its inside or on the other side of the transparent DTS object. A good test would be to have a second person connected to the mission to view from a side angle to see if this is the case.
If this is the problem, you will either have to stop the player from being able to get so close to the window or stop the weapon from being able to go through it.
08/10/2006 (9:33 pm)
Hi Jason,Having looked at the wmv file, it would appear that the weapon seems to be further away because its inside or on the other side of the transparent DTS object. A good test would be to have a second person connected to the mission to view from a side angle to see if this is the case.
If this is the problem, you will either have to stop the player from being able to get so close to the window or stop the weapon from being able to go through it.
#6
will not pass into it.
08/10/2006 (10:07 pm)
I wood add a collision mesh all my guns have one when i walk into a dif or dts with collision mesh the gun will not pass into it.
#7
So, what I get from these suggestions is that I need to either expand my player's bounding box and/or add collision meshes to my weapon. I'll try playing around with this and let you know what the verdict is.
Once again, thanks for these tips!
- Jason
08/12/2006 (6:39 am)
Thank you Peterjohn and Dave!So, what I get from these suggestions is that I need to either expand my player's bounding box and/or add collision meshes to my weapon. I'll try playing around with this and let you know what the verdict is.
Once again, thanks for these tips!
- Jason
Torque Owner Dave MacIsaac