Playmaker Forum

PlayMaker Updates & Downloads => Share New Actions => Topic started by: mdotstrange on February 14, 2016, 02:05:28 AM

Title: Box cast
Post by: mdotstrange on February 14, 2016, 02:05:28 AM
On Ecosystem as well
https://snipt.net/mdotstrange/boxcast/ (https://snipt.net/mdotstrange/boxcast/)

(http://i.imgur.com/UByLCjy.png)
Title: Re: Box cast
Post by: Ubik3D on April 06, 2019, 09:15:17 AM
Hey mDotStrange! @mdotstrange

I am creating a scene for an art piece I'm working on, and I'm trying to use this boxcast.

The script is working, but for some reason, the script doesn't seem to make any good use of the "orientation" data. It just casts a box with 0, 0, 0 orientation no matter what I put into the orientation field.

I'm trying to find the bug but haven't yet. Can you perhaps help?

UPDATE: I found the error! In void DoBoxcast, the orientation is stated as orientation.Value = Quaternion.identity. If I removed the last part (= Quaternion.identity) the script worked!

Btw, I'm a fan of your art!

Best,
Daniel