toggling the Solid attribute in Python

For questions about using Classic.

Post » Sun Sep 05, 2010 5:14 pm

Is it possible to toggle an object's Solid attribute on and off in a Python script? If so, how? Note: I don't want to change the collision mode to in effect "remove" the Solid attribute; I want to toggle the Solid attribute itself.

Any thoughts?

-Zumbooruk
B
2
G
2
Posts: 10
Reputation: 670

Post » Sun Sep 05, 2010 6:00 pm

No, it's not possible in python. The "Solid" attribute can be added at runtime with events or python but it can't be removed.
B
88
S
30
G
89
Posts: 5,113
Reputation: 60,337

Post » Sun Sep 05, 2010 6:05 pm

That's what I thought. Thanks for the clarification. I just wanted to be sure.
B
2
G
2
Posts: 10
Reputation: 670

Post » Sun Sep 05, 2010 8:16 pm

[quote="R0J0hound":c2xxoavj]No, it's not possible in python. The "Solid" attribute can be added at runtime with events or python but it can't be removed.[/quote:c2xxoavj]

edit: I can't read :D disregard that
B
81
S
50
G
11
Posts: 555
Reputation: 13,569


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 1 guest