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
79
S
24
G
54
Posts: 4,746
Reputation: 40,755

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
10
Posts: 555
Reputation: 13,009


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 9 guests