Rec Room
Leto 2017 年 8 月 24 日 下午 7:57
Easy fix for wall glitch...
So while thinking about how to stop people from wall exploits in my game i made a pretty straight forward solution..

void OnCollisionEnter(Collision collision)
{
if(collision.gameObject.tag == "wall")
playerTransform.position += collision.contacts[0].normal * 0.5f;
}

Player object contains head+hands. 5 lines of code + a sphere collider = fixed wall glitch.

If you dont can/want to implement this i realy would love to know why just in case i miss some thing importend.(if one of the devs see this...)
< >
正在显示第 1 - 6 条,共 6 条留言
Grey Acumen 2017 年 8 月 28 日 下午 7:34 
A) Do you have any idea how stuttery that would be? And thus how horrible that would be for VR sickness?
B) how are you testing for which direction to send the player? It's not super clear that direction is actually being checked.
C) Wall "glitches" are part of rec room. Learn to enjoy it, instead of trying to make everyone else stop having fun because you don't like it. For every person that hates wall glitches, there are 3 dozen that think it's the best thing ever. This is Virtual Reality, and being able to walk through walls is to be expected.
Vash(88) 2017 年 8 月 28 日 下午 7:42 
引用自 Grey Acumen
A) Do you have any idea how stuttery that would be? And thus how horrible that would be for VR sickness?
B) how are you testing for which direction to send the player? It's not super clear that direction is actually being checked.
C) Wall "glitches" are part of rec room. Learn to enjoy it, instead of trying to make everyone else stop having fun because you don't like it. For every person that hates wall glitches, there are 3 dozen that think it's the best thing ever. This is Virtual Reality, and being able to walk through walls is to be expected.

Is this guy serious? A "glitch" is part of the game?!?! lol contender for the dumbest argument of the year award. This is like saying that people should be allowed to hack in cs:go or any other game because "they are having fun" cheating. Just because it is a "virtual" wall doesn't change the fact that it is meant to still be a WALL. Stop making exuses for yourself for not being able to play without cheating the system
最后由 Vash(88) 编辑于; 2017 年 8 月 28 日 下午 7:52
Leto 2017 年 8 月 29 日 上午 7:29 
A) No stuttering the sphere collider i use is smaller then the near clipping so it triggers when you aready sticked your head through the wall and push you 0.5 unity game units back...

B)Thats why you take the normal of the collision object https://www.khronos.org/opengl/wiki/Calculating_a_Surface_Normal

C)Yea sure :steambored:
Leto 2017 年 8 月 29 日 上午 7:33 
Btw it dont push your head back it pushes the player body including head + hands
Atsiano 2017 年 8 月 29 日 下午 4:26 
I'm actually a very active shield&sword fighter, and with some skill I can definitly have fun without wall glitch!
This is part of the game to sweat ingame! I take this game too seriously, that's a real sport for a gamer like me xD.
I once played a game where you could not even get your head behind a wall because the game decided to "block you" in some way, I don't know how to explain though, but getting rid of this awful glitch would be a revolution for the game, kids(and adults) would start learning that you have some other way to actually play the game but in a more difficult but realistic way.
I'm proud some players share my opinion.
I hope a dev with notice your message.
Greetings
Richleth 2017 年 8 月 30 日 下午 6:47 
i agree with this post because it is really not fun when people do this in the quests, it removes tension
< >
正在显示第 1 - 6 条,共 6 条留言
每页显示数: 1530 50

发帖日期: 2017 年 8 月 24 日 下午 7:57
回复数: 6