For any feature requests to either the Skyline Engine or the websites and forums please leave your suggestion here.

RigidBody constraints

RigidBody constraints

Postby SpiderMack » 12 Nov 2017, 22:42

Hi,

I didn't needed a Simple Character Controller as the AI character uses Navmesh.

I tried capsule as dynamic rigid body , unfortunatelly , it falls down

Image


A common would be to add constraints on X,Y or Z axis .
This would keep the capsule or any physics shape always aligned on some axis like Y.
User avatar
SpiderMack
Skyline Expert
 
Posts: 441
Joined: 02 Dec 2016, 09:15
Skill: Concept artist
Skill: 3D Modeller
Skill: Level Designer
Skill: Scripter

Re: RigidBody constraints

Postby SolarPortal » 12 Nov 2017, 22:52

Simple character controller is the correct way to do it if you want to be able to shoot your character.

navmesh.addEntity(Obj) -- takes an entity ID and if it has SCC, it moves that, otherwise it moves the actual entity instead
navmesh.addDCC(dccID) -- takes a spawned controller from lua and passes the id in.
Skyline Game Engine - Lead Dev.
Please provide as much info as possible when asking for help.


Specs: OS: Win 10 64bit, CPU: Intel i7 4770 3.4ghz x 4 core(8 threads), GPU: Nvidia GTX 1060 6GB, Ram: 16gig DDR3, Windows on 250gb Samsung Evo 860

Twitter: @SolarPortal
Instagram: @SolarPortal
User avatar
SolarPortal
Skyline Founder
Skyline Founder
 
Posts: 3631
Joined: 29 Jul 2012, 15:56
Location: UK
Skill: 3D Modeller
Skill: 2D Artist
Skill: Programmer
Skill: Level Designer

Re: RigidBody constraints

Postby SpiderMack » 12 Nov 2017, 22:56

SolarPortal wrote:Simple character controller is the correct way to do it if you want to be able to shoot your character.

navmesh.addEntity(Obj) -- takes an entity ID and if it has SCC, it moves that, otherwise it moves the actual entity instead
navmesh.addDCC(dccID) -- takes a spawned controller from lua and passes the id in.


Thanks for the info, it's usefull.

Still, you can consider adding physics constraints some day ? they can be very usefull for many stuff ;)
User avatar
SpiderMack
Skyline Expert
 
Posts: 441
Joined: 02 Dec 2016, 09:15
Skill: Concept artist
Skill: 3D Modeller
Skill: Level Designer
Skill: Scripter

Re: RigidBody constraints

Postby SolarPortal » 13 Nov 2017, 10:15

Do you have an example for the physics constraints? Something we can then figure in for the future :)
Skyline Game Engine - Lead Dev.
Please provide as much info as possible when asking for help.


Specs: OS: Win 10 64bit, CPU: Intel i7 4770 3.4ghz x 4 core(8 threads), GPU: Nvidia GTX 1060 6GB, Ram: 16gig DDR3, Windows on 250gb Samsung Evo 860

Twitter: @SolarPortal
Instagram: @SolarPortal
User avatar
SolarPortal
Skyline Founder
Skyline Founder
 
Posts: 3631
Joined: 29 Jul 2012, 15:56
Location: UK
Skill: 3D Modeller
Skill: 2D Artist
Skill: Programmer
Skill: Level Designer

Re: RigidBody constraints

Postby SpiderMack » 13 Nov 2017, 13:24

The object won't be able to move on the axis you block

Image
User avatar
SpiderMack
Skyline Expert
 
Posts: 441
Joined: 02 Dec 2016, 09:15
Skill: Concept artist
Skill: 3D Modeller
Skill: Level Designer
Skill: Scripter


Return to Feature Requests

Who is online

Users browsing this forum: No registered users and 1 guest

cron