This is where fixed bugs can be seen. Please do not post new bugs into this forum, it is purely to see what has been fixed and most topics will be locked.

physics.assignGroupCollisionFlag for controller

physics.assignGroupCollisionFlag for controller

Postby ant0N » 30 Aug 2015, 08:29

hi! ;)
how do I change collision flag for the controller?
when using this command:
Code: Select all
physics.assignGroupCollisionFlag(dccID,2)

Skyline crash.
Sorry for my English. :)
User avatar
ant0N
Skyline Moderator
Skyline Moderator
 
Posts: 415
Joined: 02 Nov 2012, 12:49
Location: Россия, Москва
Skill: Programmer
Skill: 3D Modeller

Re: physics.assignGroupCollisionFlag for controller

Postby StarFire » 30 Aug 2015, 14:52

Ah the command you mentioned is for the rigid body code, I think the command for collision groups is:

Code: Select all
controller.setQueryFlag(dccID, flag );


are you wanting to set the physics to pass through another physics object or for use in raycast?sensor detection?
Dream the Journey, Live the Experience!
User avatar
StarFire
Skyline Founder
Skyline Founder
 
Posts: 1678
Joined: 03 Jan 2012, 18:50
Location: UK
Skill: Great creative
Skill: Programmer
Skill: 3D Modeller
Skill: 2D Artist
Skill: Level Designer

Re: physics.assignGroupCollisionFlag for controller

Postby ant0N » 30 Aug 2015, 15:16

for use in raycast?sensor detection :)
Sorry for my English. :)
User avatar
ant0N
Skyline Moderator
Skyline Moderator
 
Posts: 415
Joined: 02 Nov 2012, 12:49
Location: Россия, Москва
Skill: Programmer
Skill: 3D Modeller

Re: physics.assignGroupCollisionFlag for controller

Postby StarFire » 30 Aug 2015, 15:18

ok that command should do what you need ;)
Dream the Journey, Live the Experience!
User avatar
StarFire
Skyline Founder
Skyline Founder
 
Posts: 1678
Joined: 03 Jan 2012, 18:50
Location: UK
Skill: Great creative
Skill: Programmer
Skill: 3D Modeller
Skill: 2D Artist
Skill: Level Designer

Re: physics.assignGroupCollisionFlag for controller

Postby ant0N » 30 Aug 2015, 15:33

thanks for the help! :D
Sorry for my English. :)
User avatar
ant0N
Skyline Moderator
Skyline Moderator
 
Posts: 415
Joined: 02 Nov 2012, 12:49
Location: Россия, Москва
Skill: Programmer
Skill: 3D Modeller


Return to Fixed Bugs

Who is online

Users browsing this forum: No registered users and 2 guests