ambiera logo

Ambiera Forum

Discussions, Help and Support.

folder icon Ambiera Forum > CopperCube > Programming and Scripting
forum topic indicator raycast
person icon
ehsan
Registered User
Quote
2021-02-28 16:57:01

is there raycast command by coppercube

person icon
csp-games
Guest
Quote
2021-02-28 18:19:06

if by raycast you mean a linepick, then yes:

var coll= ccbGetCollisionPointOfWorldWithLine(startX, startY, startZ, endX, endY, endZ)

will give you collision coords in coll.x, coll.y and coll.z, or false if there was no collision, so:
if(!coll) {
// no collision
}else{
alert(coll.x);
}

person icon
ku klux klonoa
Guest
Quote
2023-12-26 08:14:30

hey bro why do you even want raycasting when true 3d rendering is superior

person icon
Guest
Guest
Quote
2023-12-26 12:21:30

What's your point @ku klux klonoa?

sounds like another lack of knowledge about the right term usage between raycasting & raytracing ...

Wikipedia:

"The Ku Klux Klan ... commonly shortened to the KKK or the Klan, is the name of several historical and current American white supremacist, far-right terrorist organizations and hate groups."


Create reply:










 

  

Possible Codes


Feature Code
Link [url] www.example.com [/url]
Bold [b]bold text[/b]
Image [img]http://www.example.com/image.jpg[/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]

Emoticons


icon_holyicon_cryicon_devilicon_lookicon_grinicon_kissicon_monkeyicon_hmpf
icon_sadicon_happyicon_smileicon_uhicon_blink   






Copyright© Ambiera e.U. all rights reserved.
Contact | Imprint | Products | Privacy Policy | Terms and Conditions |