• Welcome to World Machine Community. Please login or sign up.
 
May 25, 2019, 02:06:29 pm

News:

Read the Development Diary for an inside look at World Machine's progress!


Converting Integer to Scalar

Started by skara, December 11, 2013, 01:20:12 pm

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

skara

Hi,

Is it possible convert from an integer value to a scalar value to drive a device. This is to make a macro where input units would be in degrees for slope selection, to make it more real world friendly as opposed to using values from 0.0 to 1.0 etc?

Thanks,

R.

Stephen

Hi there,

currently this is not possible, sorry. I agree that it would be useful to have implicit conversion, or at the least a "casting" device that could convert for you.

-- Stephen Schmitt
- Creator of World Machine

skara

Hi,

Thanks for the response, how easy would it be to make the "scalar arithmetic device" always cast the input to a float?

R.

Quick Reply

With Quick-Reply you can write a post when viewing a topic without loading a new page. You can still use bulletin board code and smileys as you would in a normal post.

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.

Note: this post will not display until it's been approved by a moderator.

Name:
Email:
Verification:
Please leave this box empty:
Type the letters shown in the picture
Listen to the letters / Request another image

Type the letters shown in the picture:

Shortcuts: ALT+S save/post or ALT+P preview