Filter
Exclude
Time range
-
Near
There are 75 keys. And each one uses 2 rigidbodies, a fixedjoint, an overlapbox and other scripts for online synchronisation. So there are a few optimisations here and there. 🪄.
1
3
21
745
3 Jun 2024
開発記録6/4 シリーズ当初から実装を試みては断念していたショットガン実装にリトライ。せっかくなので過去の失敗もメモ📝 ①複数方向にレイを飛す方式(×) ヒットしない方向にもレイも飛ばす無駄があった。また複数のレイが当たるコライダーには、1フレームで何回もダメージ付与処理が走る事になった。結局、撃つごとにプチフリするのでNGとなった。 ②円錐コライダーを前方に展開(×) 撃った瞬間、前方にコライダーを出し、それにヒットするコライダーだけ処理する方式。TriggerEnterのハンドリングが面倒だった。コライダめり込みで不安定になるし、間に壁があっても反応するしでNGとなった。 ③処理対象限定&一括ダメージ付与(トライ中) 撃った瞬間、前方のコライダーをOverlapBoxで収集(OverlapConeがないから一旦Boxで取得)。 その後、取得された各コライダーのClosestPointに向けてレイを発射する方式。レイの角度でBox内だけどCone外のコライダーは除去。レイの角度差が小さく、より近距離の方がダメージ量が多くなるように計算し、各コライダーに一度だけダメージ付与処理を行う。 理論上は結構いい気がしている。もう少しで処理の重さを確認できそうだけど。。。もう寝ないと!
7
358
Here you can see an example of me lerping the overlapbox size based on player direction. It's harder to see the width when attacking in x axis, and harder to see the depth when attacking in z axis. #gamedev
2
18
197
25,809
ひと段落したので、まとめます。 ・OverlapBoxで距離順に並び変えると、オブジェクトの中点を参照するので壁判定の精度が悪い ・RayCastと組み合わせたが今度は図のような斜面で思ったように攻撃が当たらない つづく #unity #gamedev #ゲーム制作
3
Here is a short tutorial about different ways to make enemy AI detect the player. We will use a BoxCollider2D but also OverlapBox cast to make the detection a bit more efficient. youtu.be/uOobLo2y3KI #unity2d #madewithunity #indiedev #gamedev #AI #unitytips

1
9
10
23 Aug 2020
I've just created a custom actions for performing OverlapSphere and OverlapBox in @HutongGames #Playmaker, and here is the preview of it (actions link it's in the description) youtu.be/4H2asg2WOS0 #unity #overlapSphere #overlapBox #customActions #gamedev #tutorial

3
13
OverlapBox可視化するのまじどうすればいいん... 当たり判定と見た目が合ってなくて半日以上苦戦してる...
2
5 Jul 2020
Right. So yesterday I didn't manage to get much done because I visited my parents. But I did think to start using OverlapBox as a way of checking if there's enough clearance above and in front of a character.
1
The patrol state now works well, including loop (second enemy) and simple patrol (first enemy). And we have a simple kill detected with OverlapBox (determinated by the direction and distance moved of the two entities). #unity #unity3d #indiedev #MadeWithUnity #indiegames
2
Well now we don't have much. I added the new vertical node and the killer path. This last is a little curious, every time that a turn is ended he call an OverlapBox to detect entities, thanks to the Turn Manager end event. #unity #unity3d #indiedev #MadeWithUnity #indiegames
4
28 Nov 2017
#Unity のOverlapBox問題を解決するには、 1.UNITYのバージョンダウン 2.OverlapBoxを使用しているオブジェクト探知を自力実装 3.待つ とりあえずバージョンダウンを試みることにする。 #gamedev

28 Nov 2017
#Unity のOverlapBoxはどうもメモリリークが発生する不具合があるらしく(しかもPhysics自体のバグらしい?)Androidではすぐ止まってしまい、WindowsでもUNITY自体や一緒に開いているブラウザ、果てはPCごと落ちたりする。 5.4.3p2以降のUNITYでは使用しないほうがよいかも issuetracker.unity3d.com/iss…
2
1
28 Nov 2017
#Unity のOverlapBoxはどうもメモリリークが発生する不具合があるらしく(しかもPhysics自体のバグらしい?)Androidではすぐ止まってしまい、WindowsでもUNITY自体や一緒に開いているブラウザ、果てはPCごと落ちたりする。 5.4.3p2以降のUNITYでは使用しないほうがよいかも issuetracker.unity3d.com/iss…

2
1
Last day l learned about Gizmos,OnDrawGizmos,OnDrawGizmosSelected and different of DrawireSphere and DrawSphere,OverlapCircle with OverlapBox .🙂 @CodeToInspire #AfghanGirlsCode
1
10
Use checkbox rather than overlapbox when looking for p.. ptrefall on rust_reboot rust.facepunch.com/commits/2…

2
I'm finally able to make a char. cont. in Unity that has the basic functionality of one from the 90s. Thanks ComputePenetration & OverlapBox
1
2
is there any way in Unity to do a raycast or overlapbox on an object that doesn't have a collider?? hmmmmmmmmmm
1
1
Replying to @infinite_ammo
Go forth, young man, and OverlapBox. The power was inside you all along!
1
Replying to @infinite_ammo
Mmmmmm no OverlapBox has existed since at least 5.3, since I was using it pre-upgrade.
2
OverlapBoxって知らなかった、、。不勉強、、、。

Physics.OverlapBoxでオブジェクト内か判定。 オブジェクトの形状に沿った立体迷路を自動生成出来るようになりました。
1
3
So, the answer (30 or so replies later): BoxCast / CheckBox / Overlapbox and equivalents should all be relatively ok

Ok, Unity devs, let's talk collision. How the HELL do I do a reliable hitbox check in Unity, within a single frame? OnEnter/Exit are awful.
1
1