Alice Community  

Go Back   Alice Community > Alice 3 > How Do I?

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Typecasting?
Old
Simpae
Junior Member
 
Status: Offline
Posts: 2
Join Date: Jul 2013
Default Typecasting? - 07-03-2013, 10:48 AM

Hi,

I was wondering if there is any kind of typecasting inside of Alice?
I came across the need to use setOpacity on an object returned by the e.getModels() function of the collision event listener.

Maybe I am missing something here, but all I could achieve was to iterate over the models using the SMovableTurnable type (which allowed me to transform the objects but not anything else).

g
simon
   
Reply With Quote
 

Tags
collision, type, typecasting

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Copyright ©2024, Carnegie Mellon University
Alice 2.x © 1999-2012, Alice 3.x © 2008-2012, Carnegie Mellon University. All rights reserved.