Post anything here that does not fall into the other topic categories.

PHYSICS BODY

PHYSICS BODY

Postby cassius_b » 09 Apr 2016, 23:43

I have an enterable building in my scene. What kind of physics body is needed so that the player can enter? Thanks
cassius_b
Skyline Padawan
 
Posts: 98
Joined: 21 Mar 2016, 13:45
Skill: 3D Modeller
Skill: Programmer

Re: PHYSICS BODY

Postby SolarPortal » 09 Apr 2016, 23:54

Set the drop down mode to "Mesh" for instant physics for going through doors.

Note: Too many "Mesh" type physics can slow a physics engine down or take longer to load than "Box" types etc... so it is advised to use simpler shapes to match. Since we do not have compound bodies yet, there are some basic physics boxes of different sizes in your "Asset Library/Presets/Skyline Scene Types/Physics Colliders". These will be very quick and performance friendly, simply overlay them on your walls, roofs etc.. It does require a bit extra work though.

For now, i would use the "Mesh" type like many of us do :) but if your level becomes very large and physics intensive, then look into other methods later on.

Hope this helps :D
Conceive, Quantify & Do!
Skyline Game Engine - Lead Developer.
Please provide as much information as possible when asking for help.


Specs: OS: Win 10 64bit, CPU: Intel i7 3770 3.4ghz x 4 core(8 threads), GPU: Nvidia GTX 1060 6GB, Ram: 16gig DDR3, Windows on 250gb Samsung Evo 860
User avatar
SolarPortal
Skyline Founder
Skyline Founder
 
Posts: 3068
Joined: 29 Jul 2012, 15:56
Location: UK
Skill: 3D Modeller
Skill: 2D Artist
Skill: Programmer
Skill: Level Designer

Re: PHYSICS BODY

Postby cassius_b » 10 Apr 2016, 00:08

Thanks. Sorry I posted in wrong place.
cassius_b
Skyline Padawan
 
Posts: 98
Joined: 21 Mar 2016, 13:45
Skill: 3D Modeller
Skill: Programmer

Re: PHYSICS BODY

Postby SolarPortal » 10 Apr 2016, 00:35

No worries, here is fine :)
Conceive, Quantify & Do!
Skyline Game Engine - Lead Developer.
Please provide as much information as possible when asking for help.


Specs: OS: Win 10 64bit, CPU: Intel i7 3770 3.4ghz x 4 core(8 threads), GPU: Nvidia GTX 1060 6GB, Ram: 16gig DDR3, Windows on 250gb Samsung Evo 860
User avatar
SolarPortal
Skyline Founder
Skyline Founder
 
Posts: 3068
Joined: 29 Jul 2012, 15:56
Location: UK
Skill: 3D Modeller
Skill: 2D Artist
Skill: Programmer
Skill: Level Designer

Re: PHYSICS BODY

Postby cassius_b » 10 Apr 2016, 15:40

Where is dropdown mode?
cassius_b
Skyline Padawan
 
Posts: 98
Joined: 21 Mar 2016, 13:45
Skill: 3D Modeller
Skill: Programmer

Re: PHYSICS BODY

Postby SolarPortal » 10 Apr 2016, 16:11

Select the sceneEntity and go to the property panel, you should see a "Physics RigidBody Action" attached in green.
Under the header "PhysX Properties", you will find a property named "PRB Body Type". Change this dropdown value to mesh and try walking through your building again :)
Conceive, Quantify & Do!
Skyline Game Engine - Lead Developer.
Please provide as much information as possible when asking for help.


Specs: OS: Win 10 64bit, CPU: Intel i7 3770 3.4ghz x 4 core(8 threads), GPU: Nvidia GTX 1060 6GB, Ram: 16gig DDR3, Windows on 250gb Samsung Evo 860
User avatar
SolarPortal
Skyline Founder
Skyline Founder
 
Posts: 3068
Joined: 29 Jul 2012, 15:56
Location: UK
Skill: 3D Modeller
Skill: 2D Artist
Skill: Programmer
Skill: Level Designer

Re: PHYSICS BODY

Postby cassius_b » 10 Apr 2016, 19:34

That worked, thanks. Making progress.
cassius_b
Skyline Padawan
 
Posts: 98
Joined: 21 Mar 2016, 13:45
Skill: 3D Modeller
Skill: Programmer

Re: PHYSICS BODY

Postby SolarPortal » 10 Apr 2016, 19:51

Well done. A lot of the engine works in the same manner as that task.
So it won't be long before you are up and running :)
Conceive, Quantify & Do!
Skyline Game Engine - Lead Developer.
Please provide as much information as possible when asking for help.


Specs: OS: Win 10 64bit, CPU: Intel i7 3770 3.4ghz x 4 core(8 threads), GPU: Nvidia GTX 1060 6GB, Ram: 16gig DDR3, Windows on 250gb Samsung Evo 860
User avatar
SolarPortal
Skyline Founder
Skyline Founder
 
Posts: 3068
Joined: 29 Jul 2012, 15:56
Location: UK
Skill: 3D Modeller
Skill: 2D Artist
Skill: Programmer
Skill: Level Designer


Return to Misc

Who is online

Users browsing this forum: No registered users and 1 guest

cron