About Store Forum Documentation Contact



Post Reply 
Make physical body visible in editor
Author Message
Outdoordoor Offline
Member

Post: #1
Make physical body visible in editor
For some reason all physical bodies are invisible in the editor. At the same time they are visible in the game when using Physics.draw()

In the editor:
https://i.imgur.com/NPD1Cl5.jpg
https://i.imgur.com/oE8kDyA.jpg

In the game:
https://i.imgur.com/SBFW6yF.jpg

Is there a way to make these visible in the editor?
(This post was last modified: 10-11-2023 08:51 AM by Outdoordoor.)
10-11-2023 08:48 AM
Find all posts by this user Quote this message in a reply
tipforeveryone Offline
Bronze Supporter

Post: #2
RE: Make physical body visible in editor
I think if the object itself is a Game.Char object. it will not show capsule physic shape in model editor.

In case you want physic shape to be displayed in engine editor. press Alt Shift B
10-11-2023 02:53 PM
Find all posts by this user Quote this message in a reply
Outdoordoor Offline
Member

Post: #3
RE: Make physical body visible in editor
The problem appears not only with Game.Char, but with other object (like Static or Item) as well. Unfortunately, Alt+Shift+B does not seem to change anything either.
10-11-2023 03:07 PM
Find all posts by this user Quote this message in a reply
Zervox Offline
Member

Post: #4
RE: Make physical body visible in editor
I am assuming you are using an AMD card

it is caused by whatever shader behavior the engine does in D.lineSmooth which is used by the editor.

it is not only physical bodies that gets hidden.
10-13-2023 05:00 AM
Find all posts by this user Quote this message in a reply
Outdoordoor Offline
Member

Post: #5
RE: Make physical body visible in editor
I'm indeed using an AMD card. Is there a way to somehow tweak this D.lineSmooth to show the lines in the editor?
10-13-2023 06:30 AM
Find all posts by this user Quote this message in a reply
Zervox Offline
Member

Post: #6
RE: Make physical body visible in editor
(10-13-2023 06:30 AM)Outdoordoor Wrote:  I'm indeed using an AMD card. Is there a way to somehow tweak this D.lineSmooth to show the lines in the editor?

Only if you have source code access and rebuild the editor by uncommenting any use of D.lineSmooth to my knowledge any editor graphics settings etc will not do anything.
10-13-2023 09:16 PM
Find all posts by this user Quote this message in a reply
Outdoordoor Offline
Member

Post: #7
RE: Make physical body visible in editor
I don't have access to the source code, but thanks for the answer anyway!
10-14-2023 07:31 AM
Find all posts by this user Quote this message in a reply
Post Reply