Scolring - Forum

Entraides et échanges autour de la technologie Scol - Informations and exchanges on the Scol technology

Vous pouvez changer la langue de l'interface une fois inscrit - You can change the language once registered

You are not logged in.

#1 10-Apr-2016 15:29:47

el_motoblock
Member
From: Russia
Registered: 16-Feb-2013
Posts: 270

Rotate object to player

How make to automatc rotate object to player(or camera shell)? y, z axis
a55725268fcd.jpg
https://drive.google.com/open?id=0BxQ6o … mxlNUEtOEk
this function in older games used to tree sprite turned on the camera

Last edited by el_motoblock (10-Apr-2016 15:38:11)

Offline

#2 10-Apr-2016 15:44:02

arkeon
Admin. / Scol language & OpenSpace3D developer
From: Nantes
Registered: 30-Mar-2009
Posts: 5,091
Website

Re: Rotate object to player

you have the object target plugiT for this.
but as I remember this is a little tricky ^^

Offline

#3 10-Apr-2016 16:11:28

el_motoblock
Member
From: Russia
Registered: 16-Feb-2013
Posts: 270

Re: Rotate object to player

Setting uncomfortable

Offline

#4 10-Apr-2016 16:29:47

el_motoblock
Member
From: Russia
Registered: 16-Feb-2013
Posts: 270

Re: Rotate object to player

and how you can make to the sound was quiet when the object is moving away from? (3d sound plugIT)

Offline

#5 10-Apr-2016 17:20:28

arkeon
Admin. / Scol language & OpenSpace3D developer
From: Nantes
Registered: 30-Mar-2009
Posts: 5,091
Website

Re: Rotate object to player

just play with the attenuation setting.
this define the attenuation coef by distance.

Offline

#6 11-Apr-2016 17:43:03

el_motoblock
Member
From: Russia
Registered: 16-Feb-2013
Posts: 270

Re: Rotate object to player

not works sound allways in any distance of object

Offline

#7 11-Apr-2016 17:45:08

arkeon
Admin. / Scol language & OpenSpace3D developer
From: Nantes
Registered: 30-Mar-2009
Posts: 5,091
Website

Re: Rotate object to player

ha the sound must be in mono.
stereo sound will keep the stereo mode ignoring 3D attenuation

use audacity to modify the sound

Offline

#8 11-Apr-2016 17:47:15

el_motoblock
Member
From: Russia
Registered: 16-Feb-2013
Posts: 270

Re: Rotate object to player

Is there a plugit to detect the distance?
how to check for soft touch with an object, and not a hard pressure on the object? (in physic contact plugit)

Offline

#9 11-Apr-2016 17:55:10

arkeon
Admin. / Scol language & OpenSpace3D developer
From: Nantes
Registered: 30-Mar-2009
Posts: 5,091
Website

Re: Rotate object to player

yes the object distance plugit manage this.

to get the touch force you can check the physic contact documentation.

the contact event send several parameters including the impact force.
you try check the returned values with the mic / debug console plugit
then link the contact event to it to see the values.

Offline

#10 12-Apr-2016 17:43:39

el_motoblock
Member
From: Russia
Registered: 16-Feb-2013
Posts: 270

Offline

#11 12-Apr-2016 18:09:19

arkeon
Admin. / Scol language & OpenSpace3D developer
From: Nantes
Registered: 30-Mar-2009
Posts: 5,091
Website

Re: Rotate object to player

great wink

Offline

#12 28-Jul-2016 14:03:57

el_motoblock
Member
From: Russia
Registered: 16-Feb-2013
Posts: 270

Re: Rotate object to player

https://youtu.be/Vg3avLp0C8w video about my new problem
https://drive.google.com/open?id=0BxQ6o … W9lY3g3Y3c project


++problem with alt + tab - when run in the player, after switching is not possible to return to game controls, at windows

Last edited by el_motoblock (28-Jul-2016 14:09:45)

Offline

#13 28-Jul-2016 17:31:08

arkeon
Admin. / Scol language & OpenSpace3D developer
From: Nantes
Registered: 30-Mar-2009
Posts: 5,091
Website

Re: Rotate object to player

what is your problem in the video ?

for alt tab you mean in fullscreen or windowed mode ?

Offline

#14 29-Jul-2016 06:55:42

el_motoblock
Member
From: Russia
Registered: 16-Feb-2013
Posts: 270

Re: Rotate object to player

if I go to the dog - she runs up to me, if I am going away from the dog - it moves back.
If I come to the killer - he finds me and ran up to me.
if I walked away from him - he respawn at the point where he was, but he must also retreat.
I just dubbed the "dog" plug-ins for the "killer"
I checked it works - before I copied it to "bear"

in windowed mode not works mouselook+wasd after alt+tab https://youtu.be/ZhvODD1He84
in fullscreeen it works normal

Offline

#15 29-Jul-2016 09:50:36

arkeon
Admin. / Scol language & OpenSpace3D developer
From: Nantes
Registered: 30-Mar-2009
Posts: 5,091
Website

Re: Rotate object to player

when do you disable the control on fps ? I think you must miss a link to enable it again on focus

Offline

#16 29-Jul-2016 17:35:57

el_motoblock
Member
From: Russia
Registered: 16-Feb-2013
Posts: 270

Re: Rotate object to player

not works it not works i put links back, but in os3d 3d preview and in fullscreen works normal.  this may be os3d player bug (like a close inst plugIt bug)

Last edited by el_motoblock (29-Jul-2016 17:38:32)

Offline

#17 29-Jul-2016 18:17:11

arkeon
Admin. / Scol language & OpenSpace3D developer
From: Nantes
Registered: 30-Mar-2009
Posts: 5,091
Website

Re: Rotate object to player

can you make a simple scene that produce the issue ?

Offline

#18 30-Jul-2016 05:02:20

el_motoblock
Member
From: Russia
Registered: 16-Feb-2013
Posts: 270

Re: Rotate object to player

I am on my project can be rec video using bandicam and give my project.

Offline

#19 30-Jul-2016 11:59:10

arkeon
Admin. / Scol language & OpenSpace3D developer
From: Nantes
Registered: 30-Mar-2009
Posts: 5,091
Website

Re: Rotate object to player

you disable the mouse in the mouse plugit instance.
just check it to enable mouse. and the problem is gone.

Offline

Board footer

Powered by FluxBB