[Solved] Physics sleep/awake question

Get help using Construct 2

Post » Mon Feb 04, 2013 12:38 am

The manual tells me that a physics object is asleep when not moving. Thus not eating any cpu power.

Would a "set position" or a "rotation behavior" wake them up?

If the answer is no does that mean i can have a lot of sleeping physic objects without creating a heavy load?

If the answer is yes then could someone please explain to me how i would make a physics object collide with a solid object?

Edit: In fact could you guys answer both question?Semo2013-02-04 07:19:23
B
12
S
2
G
3
Posts: 59
Reputation: 2,628

Post » Mon Feb 04, 2013 12:58 am

1- The physics actions are the only actions that can wake it , so no

2- Give it a solid behavior :3

I hope that helped ,
Cheers !
B
35
S
16
G
16
Posts: 2,222
Reputation: 16,589

Post » Mon Feb 04, 2013 1:21 am

1. Yes that helped a lot! If it means having a 100 sleeping physic objects is no problem then thank you!

2. I did but lets say my player is a physic and has the solid behavior. I want to give it a shield around him which is also a solid. They would collide and freak out. How would i fix this?
B
12
S
2
G
3
Posts: 59
Reputation: 2,628


Return to How do I....?

Who is online

Users browsing this forum: Renfd, supreme676 and 30 guests