The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
trig functions?
DRedshot Offline
Senior Member

Posts: 374
Threads: 23
Joined: Jun 2011
Reputation: 11
#1
trig functions?

Can I use trig functions in HPS? I've tried a few different ways of writing it but all have so far failed.
I don't have a specific idea yet, but they could come in use when trying to make the player go dizzy and start shaking his head, or to make lights oscillate between multiple different colours
(these are poor examples i know Smile, I could probably come up with better ones with a bit of time).

So far I have tried:

Sin(30.0f)
sin(30.0f)
Sine(30.0f)
sine(30.0f)

Is there a way? I could make a few cool effects if it's possible, but so far I've had no luck...


(This post was last modified: 10-04-2011, 07:49 PM by DRedshot.)
10-04-2011, 07:48 PM
Find


Messages In This Thread
trig functions? - by DRedshot - 10-04-2011, 07:48 PM
RE: trig functions? - by Tanshaydar - 10-04-2011, 07:51 PM
RE: trig functions? - by Your Computer - 10-05-2011, 12:41 AM
RE: trig functions? - by DRedshot - 10-05-2011, 12:53 AM



Users browsing this thread: 1 Guest(s)